public function createGroup(array $options)
    {
        if ($this->prepared) {
            throw new \RuntimeException('MenuPool has been prepared and can\'t receive new groups.');
        }

        $group = new MenuGroup($this->groupOptionsResolver->resolve($options));

        $this->addGroup($group);
    }