Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class Progress |
||
12 | { |
||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | private static $named = []; |
||
17 | |||
18 | /** |
||
19 | * @param int $pid |
||
20 | * @param string $name |
||
21 | */ |
||
22 | public static function started(int $pid, string $name = null) : void |
||
29 | ]); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @param int $pid |
||
34 | * @param int $sig |
||
35 | * @param int $code |
||
36 | * @param string $name |
||
37 | */ |
||
38 | public static function exited(int $pid, int $sig, int $code, string $name = null) : void |
||
50 |