Inheritance: extends Facade
Exemplo n.º 1
0
 /**
  * Define theme routes namespace.
  */
 public function register()
 {
     Route::group(['namespace' => 'Theme\\Controllers'], function () {
         require themosis_path('theme.resources') . 'routes.php';
     });
 }
Exemplo n.º 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';
     });
 }