/** * {@inheritDoc} */ protected function getFirstLevelParent() { $ul = new NodeElement(); $ul->openTag('ul'); // Check whether we have a class name if (isset($this->options['class']['base'])) { $ul->addAttribute('class', $this->options['class']['base']); } return $ul->finalize()->render(); }