Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class GetServiceStdClassFactory extends AbstractFactory |
||
12 | { |
||
13 | /** |
||
14 | * @var mixed |
||
15 | */ |
||
16 | private $dependency; |
||
17 | |||
18 | /** |
||
19 | * @param mixed $dependency |
||
20 | */ |
||
21 | public function __construct($dependency) |
||
22 | { |
||
23 | $this->dependency = $dependency; |
||
24 | |||
25 | parent::__construct(); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @throws ContainerExceptionInterface |
||
30 | */ |
||
31 | public function __invoke(ContainerInterface $container, string $requestedName, array $options = null): \stdClass |
||
39 | } |
||
40 | } |
||
41 |