src/TemplatingViewModule.php
public function configureDependencyInjection(
		DependencyInjectionContainer $dic,
		array $moduleConfig,
		array $globalConfig) {
		$dic->alias(ControllerViewProcessor::class, TemplateViewProcessor::class);

		if (!array_key_exists(self::CONFIG_TEMPLATE_ROOTS, $moduleConfig)) {
			$moduleConfig[self::CONFIG_TEMPLATE_ROOTS] = [];
		}
		$templateRoots = $moduleConfig[self::CONFIG_TEMPLATE_ROOTS];
		$dic->setClassParameters(TemplateViewProcessor::class, ['templateRoots' => $templateRoots]);
	}
public function configureDependencyInjection(
		DependencyInjectionContainer $dic,
		array $moduleConfig,
		array $globalConfig) {
		$dic->alias(ControllerViewProcessor::class, TemplateViewProcessor::class);

		if (!array_key_exists(self::CONFIG_TEMPLATE_ROOTS, $moduleConfig)) {
			$moduleConfig[self::CONFIG_TEMPLATE_ROOTS] = [];
		}
		$templateRoots = $moduleConfig[self::CONFIG_TEMPLATE_ROOTS];
		$dic->setClassParameters(TemplateViewProcessor::class, ['templateRoots' => $templateRoots]);
	}
{@inheritdoc}