Commit 88fc4e45 by Taylor Otwell

added url::current.

parent 8fc48f7c
......@@ -10,6 +10,16 @@ class URL {
public static $base;
/**
* Get the full URL for the current request.
*
* @return string
*/
public static function current()
{
return static::to(URI::current());
}
/**
* Get the base URL of the application.
*
* @return string
......
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