| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class InjectionException extends ContainerException |
||
| 10 | { |
||
| 11 | |||
| 12 | public static function notAnObject($value) |
||
| 18 | ) |
||
| 19 | ); |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function unresolvablePropertyInjection(ReflectionProperty $property, $object): self |
||
| 29 | ) |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param ReflectionProperty|ReflectionParameter $propertyOrParameter |
||
| 35 | * @return self |
||
| 36 | */ |
||
| 37 | public static function invalidInjection($propertyOrParameter): self |
||
| 50 |