public function __construct(Configuration $configuration, TemplateFactoryInterface $templateFactory, ParserStorageInterface $parserStorage) { $this->configuration = $configuration; $this->templateFactory = $templateFactory; $this->parserStorage = $parserStorage; }