Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function resolve(object $attribute, object $service, \ReflectionMethod $method): void |
||
18 | { |
||
19 | $aliases = $this->getAliases($attribute, $method); |
||
20 | $closure = new Factory( |
||
21 | callable: $method->getClosure($service), |
||
22 | singleton: false, |
||
23 | ); |
||
24 | |||
25 | $this->bind($aliases, $closure, $this->getScope($method)); |
||
26 | } |
||
28 |