public function matchesAction($action) { $action = (array) $action; return in_array($this->action, $action); }