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