/** * Filter an action by tags * * {@inheritDoc} * * @param Action $action {@inheritDoc} * * @return boolean {@inheritDoc} */ public function filter(Action $action) { if ($action instanceof Action) { return $action->hasTags($this->tags); } else { return false; } }