Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
54 | public static function create(array $meets, bool $shouldEndInputHandler, array $fails = [], string $reports = null, int $maximumInvocations = null, int $triggerTimeMilliseconds = null): self |
||
55 | { |
||
56 | $event = new self(); |
||
57 | |||
58 | $event->meets = $meets; |
||
59 | $event->shouldEndInputHandler = $shouldEndInputHandler; |
||
60 | $event->fails = $fails; |
||
61 | $event->reports = $reports; |
||
62 | $event->maximumInvocations = $maximumInvocations; |
||
63 | $event->triggerTimeMilliseconds = $triggerTimeMilliseconds; |
||
64 | |||
65 | return $event; |
||
66 | } |
||
68 |