yii\filters\AccessRule::matchAction PHP Method

matchAction() protected method

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