| Total Complexity | 5 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class DiException extends BaseException |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @param string $name |
||
| 27 | * @return DiException |
||
| 28 | */ |
||
| 29 | public static function dependencyNotRegistered($name): DiException |
||
| 32 | } |
||
| 33 | |||
| 34 | public static function dependencyAlreadyRegistered($name): DiException |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param $name |
||
| 41 | * @return DiException |
||
| 42 | */ |
||
| 43 | public static function dependencyNotInstantiable($name): DiException |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param string $name |
||
| 50 | * @return DiException |
||
| 51 | */ |
||
| 52 | public static function invalidAbstractDependency(string $name): DiException |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param string $chain |
||
| 59 | * @return DiException |
||
| 60 | */ |
||
| 61 | public static function circularDependency(string $chain): DiException |
||
| 66 |