src/Controller.php
protected function getActionUrl($action) : string
    {
        $context = Context::getInstance();
        return $context->getUrl($context->getParameter('controller_path') . $action);
    }
protected function getActionUrl($action) : string
    {
        $context = Context::getInstance();
        return $context->getUrl($context->getParameter('controller_path') . $action);
    }
protected function getActionUrl ( $ action ) : string { $ context = Context :: getInstance ( ) ; return $ context -> getUrl ( $ context -> getParameter ( 'controller_path' ) . $ action ) ; }
Returns a URL to an action in this controller.

@param string $action The name of the action
@return string A URL to the action
Returns a URL to an action in this controller .