public const DOC_OUTPUT_HTML = 1
public const DOC_OUTPUT_MARKDOWN = 2
public const DOC_OUTPUT_INDEX = 3
private int $outputFormat
private string $outputPath
public __construct(int $outputFormat, ?string $title): void
| Parameter | Type | Description |
|---|
$outputFormat | int | |
$title | string | |
public setCallback(\Closure $callback): void
| Parameter | Type | Description |
|---|
$callback | \Closure | |
public setScanPath(string $scanPath): bool
| Parameter | Type | Description |
|---|
$scanPath | string | |
public setOutputPath(string $outputPath): void
| Parameter | Type | Description |
|---|
$outputPath | string | |
public getOutputPath(): string
public generateIndex(string $style = 'vuepress'): bool
| Parameter | Type | Description |
|---|
$style | string | |
private render(\stdClass $index, string $outputPath): bool
| Parameter | Type | Description |
|---|
$index | \stdClass | |
$outputPath | string | |
private renderNamespace(\stdClass $namespace, array $subdirs, array $template): void
| Parameter | Type | Description |
|---|
$namespace | \stdClass | |
$subdirs | array | |
$template | array | |
private loadTemplates(string $path, int $outputFormat = 2): void
| Parameter | Type | Description |
|---|
$path | string | |
$outputFormat | int | |
private updateIndex(\stdClass $index, ParserFile $parsedFile): void
| Parameter | Type | Description |
|---|
$index | \stdClass | |
$parsedFile | ParserFile | |
private pushIndexItem(array $array, array $items): void
| Parameter | Type | Description |
|---|
$array | array | |
$items | array | |
private getFiles(string $path): void
| Parameter | Type | Description |
|---|
$path | string | |
private postProcessRemoveEmptyLines(string $content): string
| Parameter | Type | Description |
|---|
$content | string | |
private postProcessReplaceClassLinks(string $content): string
| Parameter | Type | Description |
|---|
$content | string | |
private log(string $message): void
| Parameter | Type | Description |
|---|
$message | string | |
private createNamespaceHierarchy(\stdClass $item): void
| Parameter | Type | Description |
|---|
$item | \stdClass | |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:30 +0000