Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 81.82% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | class UniqueIdFactory |
||
7 | { |
||
8 | protected static ?self $instance = null; |
||
9 | protected UniqueId $class; |
||
10 | |||
11 | 145 | public static function getFactoryInstance(): self |
|
17 | } |
||
18 | |||
19 | 1 | protected function __construct() |
|
22 | 1 | } |
|
23 | |||
24 | private function __clone() |
||
26 | } |
||
27 | |||
28 | 145 | public function getClass(): UniqueId |
|
33 |