protected function fetchOption($name, $required = false)
    {
        $optionName = Container::underscore($name);
        if ($this->hasOption($optionName))
        {
            $this->$name = $this->getOption($optionName);
        }
        elseif ($required)
        {
            throw new OptionRequiredException(sprintf('The menu item option %s is required', $optionName));
        }

        return $this;
    }