Commit dab2c792 by Dayle Rees

Merge pull request #933 from franzliedke/patch-22

Request::time()
parents a0fd22f6 37dbeef2
...@@ -179,6 +179,16 @@ class Request { ...@@ -179,6 +179,16 @@ class Request {
} }
/** /**
* Get the timestamp of the time when the request was started.
*
* @return int
*/
public static function time()
{
return (int) LARAVEL_START;
}
/**
* Determine if the current request is via the command line. * Determine if the current request is via the command line.
* *
* @return bool * @return bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment