| Total Complexity | 4 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | trait AddParameterToHeaderTrait |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Set user-defined parameter. |
||
| 17 | * |
||
| 18 | * @param string $name (can be set without preceding VPr / RefVPr) |
||
| 19 | * @param Type\Enums\ParameterTypeEnum|string $type |
||
| 20 | * @param mixed $value |
||
| 21 | * @param mixed|null $list |
||
| 22 | * |
||
| 23 | * @return AbstractAgenda |
||
| 24 | */ |
||
| 25 | 13 | public function addParameter(string $name, Type\Enums\ParameterTypeEnum|string $type, mixed $value, mixed $list = null): AbstractAgenda |
|
| 34 |