Encore\Admin\Routing\Router::register PHP Метод

register() публичный Метод

Register admin routes.
public register ( ) : void
Результат void
    public function register()
    {
        $this->router->group($this->attributes, function ($router) {
            foreach ($this->routes as $method => $arguments) {
                foreach ($arguments as $argument) {
                    call_user_func_array([$router, $method], $argument);
                }
            }
        });
    }