| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class DiException extends BaseException |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @param string $name |
||
| 27 | * @return DiException |
||
| 28 | */ |
||
| 29 | public static function dependencyNotRegistered(string $name): DiException |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $name |
||
| 36 | * @return DiException |
||
| 37 | */ |
||
| 38 | public static function dependencyAlreadyRegistered(string $name): DiException |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param string $name |
||
| 45 | * @return DiException |
||
| 46 | */ |
||
| 47 | public static function dependencyNotInstantiable(string $name): DiException |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $name |
||
| 54 | * @return DiException |
||
| 55 | */ |
||
| 56 | public static function invalidAbstractDependency(string $name): DiException |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $chain |
||
| 63 | * @return DiException |
||
| 64 | */ |
||
| 65 | public static function circularDependency(string $chain): DiException |
||
| 70 |