| 1 | <?php declare(strict_types = 1); |
||
| 13 | class FunctionCommentsGenerator extends CommentsGenerator |
||
| 14 | { |
||
| 15 | /** @var array Argument name to type collection */ |
||
| 16 | protected $arguments = []; |
||
| 17 | |||
| 18 | /** @var array Argument name to description collection */ |
||
| 19 | protected $descriptions = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * FunctionCommentsGenerator constructor. |
||
| 23 | * |
||
| 24 | * @param array $arguments Argument name to type collection |
||
| 25 | * @param array $descriptions Argument name to description collection |
||
| 26 | * @param AbstractGenerator|null $parent Parent generator |
||
| 27 | */ |
||
| 28 | public function __construct(array $arguments, array $descriptions, AbstractGenerator $parent = null) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function code(int $indentation = 0) : string |
||
| 48 | } |
||
| 49 |