| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class ContainerException extends Exception implements ContainerExceptionInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @return ContainerException |
||
| 14 | */ |
||
| 15 | public static function circularDependency(): ContainerException |
||
| 16 | { |
||
| 17 | return new self('Detect Circular Dependency'); |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string|null $type |
||
| 22 | * |
||
| 23 | * @return ContainerException |
||
| 24 | */ |
||
| 25 | public static function findType(?string $type): ContainerException |
||
| 28 | } |
||
| 29 | 3 | ||
| 30 | /** |
||
| 31 | * @param string $id |
||
| 32 | * |
||
| 33 | * @return ContainerException |
||
| 34 | */ |
||
| 35 | public static function shareOnMake(string $id): ContainerException |
||
| 40 |