Encore\Admin\Routing\Router::register PHP Method

register() public method

Register admin routes.
public register ( ) : void
return 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);
                }
            }
        });
    }