Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class ContainerException extends Exception implements ContainerExceptionInterface |
||
11 | { |
||
12 | 1 | public static function instanceNotExtendable(): self |
|
13 | { |
||
14 | 1 | return new self('The passed instance is not extendable.'); |
|
15 | } |
||
16 | |||
17 | 5 | public static function instanceFrozen(string $id): self |
|
20 | } |
||
21 | |||
22 | 1 | public static function instanceProtected(string $id): self |
|
27 |