Authority\Rule::matchesAction PHP Method

matchesAction() public method

Determine if the instance's action matches the one passed in
public matchesAction ( string $action ) : boolean
$action string Action in question
return boolean
    public function matchesAction($action)
    {
        $action = (array) $action;
        return in_array($this->action, $action);
    }