/** * {@inheritdoc} */ public function has($name, array $options = []) { $menuItem = $this->repository->getOneMenuItemByName($name); return $menuItem instanceof MenuItemInterface; }
/** * {@inheritdoc} */ public function has($name, array $options = []) { $menuItem = $this->repository->getOneMenuItemByName($name); return $menuItem instanceof MenuItemInterface; }