private function setViewService(Di $di, Config $config, $moduleName)
    {
        $viewsDir = $config['view'][$moduleName];
        $volt     = $this->setVoltOptions($config, $moduleName);

        $options = [
            'di'        => $di,
            'views_dir' => $viewsDir,
            'volt'      => $volt
        ];
        $di->set('view', new View($options), true);
        return $this;
    }