protected function matchAction($action) { return empty($this->actions) || in_array($action->id, $this->actions, true); }