| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class KeyHandler implements \JsonSerializable |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param AbstractStandardCommand[] $commands Commands to run when handler applies |
||
| 13 | * @param bool $propagate Whether to propagate the event after handling |
||
| 14 | * @param string|null $when APL boolean expression controlling whether this handler is considered |
||
| 15 | */ |
||
| 16 | 14 | public function __construct( |
|
| 21 | 14 | } |
|
| 22 | |||
| 23 | 10 | public function jsonSerialize(): array |
|
| 32 |