Class yii\apidoc\helpers\IndexFileAnalyzer
| Inheritance | yii\apidoc\helpers\IndexFileAnalyzer » cebe\markdown\Markdown |
|---|---|
| Source Code | https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/IndexFileAnalyzer.php |
IndexFileAnalyzer analyzes index file with TOC. Typically README.md.
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $introduction | yii\apidoc\helpers\IndexFileAnalyzer | ||
| $title | yii\apidoc\helpers\IndexFileAnalyzer |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| analyze() | Parses text and returns list of chapters got from it | yii\apidoc\helpers\IndexFileAnalyzer |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| renderHeadline() | yii\apidoc\helpers\IndexFileAnalyzer | |
| renderList() | yii\apidoc\helpers\IndexFileAnalyzer | |
| renderParagraph() | yii\apidoc\helpers\IndexFileAnalyzer |
Property Details
Method Details
Parses text and returns list of chapters got from it
| public array analyze ( $text ) | ||
| $text | string | |
| protected void renderHeadline ( $block ) | ||
| $block | ||
| protected void renderList ( $block ) | ||
| $block | ||
| protected void renderParagraph ( $block ) | ||
| $block | ||