public function canRun($arguments = [])
    {
        $action = 'action' . ucfirst($this->getActiveAction());
        return $this->canCallMethod($action, $arguments ? $arguments : ($this->request ? $this->request->getParams() : []));
    }
public function canRun($arguments = [])
    {
        $action = 'action' . ucfirst($this->getActiveAction());
        return $this->canCallMethod($action, $arguments ? $arguments : ($this->request ? $this->request->getParams() : []));
    }
public function canRun ( $ arguments = [ ] ) { $ action = 'action' . ucfirst ( $ this -> getActiveAction ( ) ) ; return $ this -> canCallMethod ( $ action , $ arguments ? $ arguments : ( $ this -> request ? $ this -> request -> getParams ( ) : [ ] ) ) ; }
Checks if it can call current action with the available paramteres;
@param array $arguments
@return bool
Checks if it can call current action with the available paramteres ;