public function __construct(Latte\Engine $latteEngine, Configuration $configuration, TemplateNavigator $templateNavigator, TemplateElementsLoader $templateElementsLoader) { $this->latteEngine = $latteEngine; $this->configuration = $configuration; $this->templateNavigator = $templateNavigator; $this->templateElementsLoader = $templateElementsLoader; }