Flarum\Event\AbstractConfigureRoutes::route PHP Метод

route() защищенный Метод

protected route ( string $method, string $url, string $name, string $controller )
$method string
$url string
$name string
$controller string
    protected function route($method, $url, $name, $controller)
    {
        $this->routes->{$method}($url, $name, $this->toController($controller));
    }