Total Complexity | 1 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class RecognizerProgress extends Recognizer |
||
9 | { |
||
10 | const TYPE = 'progress'; |
||
11 | |||
12 | /** |
||
13 | * @var string|null |
||
14 | */ |
||
15 | public $recognizer; |
||
16 | |||
17 | /** |
||
18 | * @var int|null |
||
19 | */ |
||
20 | public $completion; |
||
21 | |||
22 | /** |
||
23 | * @param string $recognizer |
||
24 | * @param int $completion |
||
25 | * |
||
26 | * @return RecognizerProgress |
||
27 | */ |
||
28 | public static function create(string $recognizer, int $completion): self |
||
39 |