| Total Complexity | 6 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class Command implements \JsonSerializable |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param Parameter[]|null $parameters Array of parameter definitions |
||
| 13 | * @param AbstractStandardCommand|null $command Single command to run |
||
| 14 | * @param AbstractStandardCommand[]|null $commands Array of commands to run |
||
| 15 | * @param string|null $description Description of this command |
||
| 16 | */ |
||
| 17 | 10 | public function __construct( |
|
| 23 | 10 | } |
|
| 24 | |||
| 25 | 6 | public function jsonSerialize(): array |
|
| 48 |