| Total Complexity | 9 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class SelectCommand extends AbstractStandardCommand implements \JsonSerializable |
||
| 8 | { |
||
| 9 | public const TYPE = 'Select'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param string|null $componentId ID of the component to select |
||
| 13 | * @param AbstractStandardCommand[]|null $commands Commands to run when condition is true |
||
| 14 | * @param array|null $data Array of data to iterate over |
||
| 15 | * @param AbstractStandardCommand[]|null $otherwise Commands to run when condition is false |
||
| 16 | */ |
||
| 17 | 6 | public function __construct( |
|
| 24 | } |
||
| 25 | |||
| 26 | 4 | public function jsonSerialize(): array |
|
| 49 |