| Conditions | 2 |
| Paths | 4 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | private function load(string $name): void |
||
| 43 | { |
||
| 44 | try { |
||
| 45 | $class = new ReflectionClass($name); |
||
| 46 | self::$instantiable[$name] = $class->isInstantiable(); |
||
| 47 | self::$dependencies[$name] = self::getMethodParameters($class->getConstructor()); |
||
| 48 | } catch (ReflectionException $exception) { |
||
| 49 | self::$dependencies[$name] = []; |
||
| 50 | self::$instantiable[$name] = false; |
||
| 51 | } |
||
| 66 |