| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class Event |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param string $name Event name |
||
| 11 | * @param InputEvent[] $inputEvents Array of input events |
||
| 12 | */ |
||
| 13 | public function __construct( |
||
| 14 | public string $name, |
||
| 15 | public array $inputEvents = [], |
||
| 16 | ) { |
||
| 17 | } |
||
| 18 | |||
| 19 | 1 | public static function fromAmazonRequest(array $amazonRequest): self |
|
| 29 | 1 | ); |
|
| 30 | } |
||
| 32 |