| Total Complexity | 4 |
| Total Lines | 20 |
| 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 |
|
| 15 | } |
||
| 16 | |||
| 17 | 4 | public static function frozenInstanceExtend(string $id): self |
|
| 18 | { |
||
| 19 | 4 | return new self("The instance '{$id}' is frozen and cannot be extended."); |
|
| 20 | } |
||
| 21 | |||
| 22 | 1 | public static function frozenInstanceOverride(string $id): self |
|
| 25 | } |
||
| 26 | |||
| 27 | 1 | public static function instanceProtected(string $id): self |
|
| 30 | } |
||
| 31 | } |
||
| 32 |