diff --git a/laravel/url.php b/laravel/url.php index f207b948..45d3a670 100644 --- a/laravel/url.php +++ b/laravel/url.php @@ -9,6 +9,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. *