Property | Type | Description | |
---|---|---|---|
$apiIndexFile | string | Filename for API Index. | |
$classDefinitions | array | The list of classes and interfaces. | |
$linkTemplate | string | A simple template for generating links. | |
$outputDir | string | Output directory. | |
$templateDir | string | Directory containing the twig templates. |
Method | Description | |
---|---|---|
__construct ( array $classDefinitions, string $outputDir, string $templateDir, string $linkTemplate = '%c.md', string $apiIndexFile = 'ApiIndex.md' ) | ||
classLink ( string $className, null | string $label = null ) : string | This is a twig template function. | |
run ( ) | Starts the generator. |
Method | Description | |
---|---|---|
createIndex ( ) : array | Creates an index of classes and namespaces. |
protected createIndex ( ) : array | ||
return | array |
protected string $apiIndexFile | ||
return | string |
protected array $classDefinitions | ||
return | array |
protected string $linkTemplate | ||
return | string |
protected string $templateDir | ||
return | string |