Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | final class ContainerException extends Exception implements ContainerExceptionInterface |
||
12 | { |
||
13 | /** |
||
14 | * @return ContainerException |
||
15 | */ |
||
16 | 3 | public static function entryType(): ContainerException |
|
17 | { |
||
18 | 3 | return new self(sprintf('Entry type must be string')); |
|
19 | } |
||
20 | |||
21 | /** |
||
22 | * @param ReflectionNamedType|null $type |
||
23 | * |
||
24 | * @return ContainerException |
||
25 | */ |
||
26 | 6 | public static function findType(?ReflectionNamedType $type): ContainerException |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param string $id |
||
33 | * |
||
34 | * @return ContainerException |
||
35 | */ |
||
36 | 3 | public static function shareOnMake(string $id): ContainerException |
|
39 | } |
||
40 | } |
||
41 |