WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRenderer::resolveControllerAction PHP Метод

resolveControllerAction() приватный Метод

Resolves action which can be used in controller method call
private resolveControllerAction ( WellCommerce\Bundle\CoreBundle\Controller\Box\BoxControllerInterface $controller ) : string
$controller WellCommerce\Bundle\CoreBundle\Controller\Box\BoxControllerInterface
Результат string
    private function resolveControllerAction(BoxControllerInterface $controller)
    {
        $currentAction = $this->routerHelper->getCurrentAction();
        if ($this->routerHelper->hasControllerAction($controller, $currentAction)) {
            return $currentAction;
        }
        return 'indexAction';
    }