ApiGen\Generator\TemplateGenerators\Loaders\NamespaceAndPackageLoader::loadTemplateWithElements PHP Method

loadTemplateWithElements() private method

private loadTemplateWithElements ( ApiGen\Templating\Template $template, array $elements ) : ApiGen\Templating\Template
$template ApiGen\Templating\Template
$elements array
return ApiGen\Templating\Template
    private function loadTemplateWithElements(Template $template, $elements)
    {
        return $template->setParameters([Elements::CLASSES => $elements[Elements::CLASSES], Elements::INTERFACES => $elements[Elements::INTERFACES], Elements::TRAITS => $elements[Elements::TRAITS], Elements::EXCEPTIONS => $elements[Elements::EXCEPTIONS], Elements::CONSTANTS => $elements[Elements::CONSTANTS], Elements::FUNCTIONS => $elements[Elements::FUNCTIONS]]);
    }