public function setView(View $view) : TwigRenderer
    {
        $this->view = $view;

        $view->getEventManager();

        return $this;
    }
public function setView(View $view) : TwigRenderer
    {
        $this->view = $view;

        $view->getEventManager();

        return $this;
    }
@param \Zend\View\View $view

@return TwigRenderer