Inheritance: extends Facade
示例#1
0
 /**
  * Define theme routes namespace.
  */
 public function register()
 {
     Route::group(['namespace' => 'Theme\\Controllers'], function () {
         require themosis_path('theme.resources') . 'routes.php';
     });
 }
示例#2
0
 /**
  * Register plugin routes.
  * Define a custom namespace.
  */
 public function register()
 {
     Route::group(['namespace' => 'Tld\\Domain\\Plugin\\Controllers'], function () {
         require themosis_path('plugin.tld.domain.plugin.resources') . 'routes.php';
     });
 }