implements |
Renderer |
---|
Methods | ||
---|---|---|
public
|
__construct(
Engine $latte,
Filter $filter,
UrlGenerator $urlGenerator,
int $workerCount,
string $title,
string $version,
string $outputDir,
)
|
# |
public
|
render(ProgressBar $progressBar, Index $index): void
|
# |
protected
|
getTaskGroups(Index $index): array<array{(callable(Index, ConfigParameters, mixed): string), array}>
|
# |
protected
|
copyAsset(Index $index, ConfigParameters $config, SplFileInfo $file): string
|
# |
protected
|
renderElementsJs(Index $index, ConfigParameters $config): string
|
# |
protected
|
renderIndex(Index $index, ConfigParameters $config): string
|
# |
protected
|
renderTree(Index $index, ConfigParameters $config): string
|
# |
public
|
renderSitemap(Index $index, ConfigParameters $config): string
|
# |
protected
|
renderNamespace(Index $index, ConfigParameters $config, NamespaceIndex $info): string
|
# |
protected
|
renderClassLike(Index $index, ConfigParameters $config, ClassLikeInfo $info): string
|
# |
protected
|
renderFunction(Index $index, ConfigParameters $config, FunctionInfo $info): string
|
# |
protected
|
renderSource(Index $index, ConfigParameters $config, FileIndex $info): string
|
# |
protected
|
renderTemplate(string $outputPath, object $template): string
|
# |
protected
|
createTaskIterator(
Index $index,
ConfigParameters $config,
array<array{(callable(Index, ConfigParameters, mixed): string), array}> $taskSets,
): iterable<callable(): string>
|
# |
protected
|
forkLoop(ProgressBar $progressBar, iterable<callable(): string> $it): void
|
# |
Properties | |||
---|---|---|---|
protected
|
Engine
|
$latte
|
# |
protected
|
Filter
|
$filter
|
# |
protected
|
UrlGenerator
|
$urlGenerator
|
# |
protected
|
int
|
$workerCount
|
# |
protected
|
string
|
$title
|
# |
protected
|
string
|
$version
|
# |
protected
|
string
|
$outputDir
|
# |