| 1 | <?php |
||
| 10 | abstract class AbstractMacroVariable |
||
| 11 | { |
||
| 12 | |||
| 13 | protected const MAX_EXECUTE_DEPTH = 3; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var DocuScope |
||
| 17 | */ |
||
| 18 | protected $docuScope; |
||
| 19 | |||
| 20 | |||
| 21 | public function __construct(DocuScope $docuScope) |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * @throws DocuGeneratorException |
||
| 29 | */ |
||
| 30 | public function runMacro( |
||
| 38 | |||
| 39 | |||
| 40 | abstract protected function runVariableMacro( |
||
| 44 | |||
| 45 | |||
| 46 | /** |
||
| 47 | * @return AbstractMacroVariable[] |
||
| 48 | */ |
||
| 49 | protected function getMacrosToRunOnBlockVariables(): array |
||
| 58 | |||
| 59 | |||
| 60 | /** |
||
| 61 | * @return AbstractMacroVariable[] |
||
| 62 | */ |
||
| 63 | protected function getMacrosToRunOnInlineVariables(): array |
||
| 70 | } |
||
| 71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.