protected function _getView(): View
    {
        if (!$this->getConfig('view')) {
            $view = new View();
            foreach ($this->getConfig('helpers') as $helper) {
                $view->loadHelper($helper);
            }

            $this->setConfig('view', $view);
        }

        return $this->getConfig('view');
    }