Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class StartInputHandlerDirective extends Directive |
||
10 | { |
||
11 | public const TYPE = 'GameEngine.StartInputHandler'; |
||
12 | |||
13 | /** |
||
14 | * @param Recognizer[] $recognizers |
||
15 | * @param Event[] $events |
||
16 | */ |
||
17 | 1 | public function __construct( |
|
18 | public ?int $timeout = null, |
||
19 | public array $proxies = [], |
||
20 | public array $recognizers = [], |
||
21 | public array $events = [] |
||
22 | ) { |
||
23 | 1 | parent::__construct(self::TYPE); |
|
24 | } |
||
25 | |||
26 | 1 | public static function create(int $timeout, array $recognizers, array $events, array $proxies = []): self |
|
29 | } |
||
30 | } |
||
31 |