| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class Observer |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var Chan |
||
| 21 | */ |
||
| 22 | private static $chan = null; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Pool $pool |
||
| 26 | */ |
||
| 27 | public static function created(Pool $pool) : void |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param Pool $pool |
||
| 34 | */ |
||
| 35 | public static function closed(Pool $pool) : void |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param Closure $changed |
||
| 42 | */ |
||
| 43 | public static function watch(Closure $changed) : void |
||
| 50 |