yii\filters\AccessRule::matchAction PHP Méthode

matchAction() protected méthode

protected matchAction ( Action $action ) : boolean
$action yii\base\Action the action
Résultat boolean whether the rule applies to the action
    protected function matchAction($action)
    {
        return empty($this->actions) || in_array($action->id, $this->actions, true);
    }