private function resolveControllerAction(BoxControllerInterface $controller)
    {
        $currentAction = $this->routerHelper->getCurrentAction();
        
        if ($this->routerHelper->hasControllerAction($controller, $currentAction)) {
            return $currentAction;
        }
        
        return 'indexAction';
    }
private function resolveControllerAction(BoxControllerInterface $controller)
    {
        $currentAction = $this->routerHelper->getCurrentAction();
        
        if ($this->routerHelper->hasControllerAction($controller, $currentAction)) {
            return $currentAction;
        }
        
        return 'indexAction';
    }
private function resolveControllerAction ( BoxControllerInterface $ controller ) { $ currentAction = $ this -> routerHelper -> getCurrentAction ( ) ; if ( $ this -> routerHelper -> hasControllerAction ( $ controller , $ currentAction ) ) { return $ currentAction ; } return 'indexAction' ; }
Resolves action which can be used in controller method call

@param BoxControllerInterface $controller

@return string
Resolves action which can be used in controller method call