| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Reflection |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Reflection\MethodService |
||
| 14 | */ |
||
| 15 | private $reflectionMethod; |
||
| 16 | |||
| 17 | 15 | public function __construct() |
|
| 18 | { |
||
| 19 | 15 | $this->reflectionMethod = new Reflection\MethodService(); |
|
| 20 | 15 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $name |
||
| 24 | * @return string[] |
||
| 25 | * @internal |
||
| 26 | */ |
||
| 27 | 12 | public function getDependencies(string $name): array |
|
| 34 | } |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $name |
||
| 39 | * @return bool |
||
| 40 | * @internal |
||
| 41 | */ |
||
| 42 | 3 | public function isInstantiable(string $name): bool |
|
| 52 |