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