public function render()
    {
        $vars = [
            'menu'  => $this,
            'items' => $this->get('root')->getChildren()
        ];

        $rendered = $this->viewFactory->make($this->view)->with($vars)->render();

        return $rendered;
    }