Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ContainerException | n/a | 0 / 0 | n/a | 0 / 0 | 0 | n/a | 0 / 0 | |||
| 1 | <?php | |
| 2 | declare(strict_types=1); | |
| 3 | ||
| 4 | ||
| 5 | namespace Lucent\Container; | |
| 6 | ||
| 7 | use Psr\Container\ContainerExceptionInterface; | |
| 8 | use RuntimeException; | |
| 9 | ||
| 10 | /** | |
| 11 | * Thrown when a container entry exists but cannot be resolved without error. | |
| 12 | * | |
| 13 | * Examples: a factory returns a value of the wrong type, or a class-string | |
| 14 | * cannot be instantiated. | |
| 15 | */ | |
| 16 | class ContainerException extends RuntimeException implements ContainerExceptionInterface | |
| 17 | { | |
| 18 | } |