Наследование: implements App\Source\RouteSystem\Interfaces\IRouteCollection
Пример #1
0
 protected function adminPanelRouteRegister()
 {
     if (Session::has('auth') && Session::get('auth')) {
         AdminRouteCollection::add(new AdminResource('sections'));
         $this->adminPanelMenuRegister();
     }
 }
Пример #2
0
 public function registerRoute()
 {
     AdminRouteCollection::add(new AdminResource('options', 'App\\Controllers\\Admin\\OptionsController'));
     AdminRouteCollection::add(new AdminResource('group_options'));
 }
Пример #3
0
 protected function adminPanelRouteRegister()
 {
     AdminRouteCollection::add(new AdminResource('pages'));
     AdminRouteCollection::add(new AdminResource('users'));
     AdminRouteCollection::add(new AdminResource('groups'));
 }