| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 25 | 2 | $refObj = new ReflectionClass($service->getClass()); |
|
| 26 | 2 | $this->instances[$service->getName()] = $refObj->newInstanceArgs($arguments); |
|
| 27 | 2 | } |
|
| 28 | |||
| 29 | 2 | return $this->instances[$service->getName()]; |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | public function methods($service) |
|
| 33 | { |
||
| 34 | 1 | $resolution = $this->construcrtorResolver->resolve($service); |
|
| 35 | |||
| 36 | 1 | foreach ($service->getMethods() as $methodName => $value) { |
|
| 37 | 1 | $argument = Objects\Argument::fromString($value); |
|
| 38 | |||
| 39 | 1 | if ($argument->isService()) { |
|
| 56 |