Webiny\Component\Bootstrap\Router::dispatchCustom PHP Method

dispatchCustom() private method

In case of a custom route, we must use the custom dispatcher.
private dispatchCustom ( string $className, string $action, array $params ) : Dispatcher
$className string Fully qualified callback class name.
$action string Class method name.
$params array Parameter list.
return Dispatcher
    private function dispatchCustom($className, $action, $params)
    {
        return Dispatcher::customDispatcher($className, $action, $params);
    }