public function __construct(Configuration $configuration, ElementStorageInterface $elementStorage, TemplateFactory $templateFactory, RelativePathResolver $relativePathResolver, SourceCodeHighlighter $sourceCodeHighlighter, EventDispatcherInterface $eventDispatcher, NamespaceAndPackageLoader $namespaceAndPackageLoader)
{
$this->configuration = $configuration;
$this->elementStorage = $elementStorage;
$this->templateFactory = $templateFactory;
$this->relativePathResolver = $relativePathResolver;
$this->sourceCodeHighlighter = $sourceCodeHighlighter;
$this->eventDispatcher = $eventDispatcher;
$this->namespaceAndPackageLoader = $namespaceAndPackageLoader;
}