ApiGen\Generator\TemplateGenerators\SourceCodeGenerator::__construct PHP Method

__construct() public method

public __construct ( Configuration $configuration, ApiGen\Contracts\Parser\Elements\ElementStorageInterface $elementStorage, TemplateFactory $templateFactory, RelativePathResolver $relativePathResolver, ApiGen\Generator\SourceCodeHighlighter\SourceCodeHighlighter $sourceCodeHighlighter, ApiGen\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher, NamespaceAndPackageLoader $namespaceAndPackageLoader )
$configuration ApiGen\Configuration\Configuration
$elementStorage ApiGen\Contracts\Parser\Elements\ElementStorageInterface
$templateFactory ApiGen\Templating\TemplateFactory
$relativePathResolver ApiGen\Generator\Resolvers\RelativePathResolver
$sourceCodeHighlighter ApiGen\Generator\SourceCodeHighlighter\SourceCodeHighlighter
$eventDispatcher ApiGen\Contracts\EventDispatcher\EventDispatcherInterface
$namespaceAndPackageLoader ApiGen\Generator\TemplateGenerators\Loaders\NamespaceAndPackageLoader
    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;
    }