add property to route service provider

This commit is contained in:
Taylor Otwell 2020-09-09 21:00:17 -05:00
parent 94e7945517
commit 9cbc3819f7
1 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,15 @@ class RouteServiceProvider extends ServiceProvider
*/
public const HOME = '/home';
/**
* If specified, this namespace is automatically applied to your controller routes.
*
* In addition, it is set as the URL generator's root namespace.
*
* @var string
*/
protected $namespace = null;
/**
* Define your route model bindings, pattern filters, etc.
*