Commit Graph
10 Commits
Author SHA1 Message Date
Jesse O'Brien 318bb36072 Adding PATCH to the route register.
Self-explanatory.
2013-03-22 17:04:15 -03:00
Jesse O'Brien e854464a21 Added section on Enabling the profiler.
Thanks to @sparksp for pointing it out.
2013-01-03 12:06:26 -05:00
Jesse O'Brien 4d6827ca14 Adding documentation for the Profiler logging and timers.
Simple as that :)
2013-01-03 12:06:26 -05:00
Jesse O'Brien 4f5cc0cd97 Add semi-colon onto padding to be safe. 2012-12-06 12:04:06 -05:00
Jesse O'Brien 404b59730a Added callback wrapper for JSONP auto wrapping. 2012-12-06 11:57:26 -05:00
Jesse O'Brien cf6e2a768b Add documentation for JSONP Response 2012-12-06 11:22:48 -05:00
Jesse O'Brien 1beea5d594 Add JSONP as a default response. 2012-12-06 11:19:39 -05:00
Jesse O'Brien 7193f29240 Added profile timers
Track the running time of a function
Profiler::time(function(){});
Profiler::time(function(){}, 'name');

Track a stopwatch style timer throughout your app
Profiler::tick('name');
Profiler::tick('name', function($timer){});
2012-08-17 16:22:12 -04:00
Jesse O'Brien 1be274caa6 Change update function so it uses timestamp like save
Calling update() on an eloquent model has no way of overriding
the timestamp that should be set if $timestamps is set on the
model. This changes that so it uses the timestamp() function
which is an easy way to over ride the type of timestamps used.
2012-07-04 15:46:12 -04:00
Jesse O'Brien 67ac2f2f9a Default was never returned. If no IP was found it returns NULL.
While unit testing I found that providing a default IP address to
Request::ip() returns NULL in a CLI environment.
2012-06-06 15:10:06 -04:00