Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class BuildServiceStdClassFactory extends AbstractFactory |
||
13 | { |
||
14 | /** |
||
15 | * @param array<mixed>|null $factoryOptions |
||
16 | */ |
||
17 | public function __construct(private readonly mixed $dependency, array $factoryOptions = null) |
||
18 | { |
||
19 | parent::__construct($factoryOptions); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @param ContainerInterface&ServiceLocatorInterface $container |
||
24 | * |
||
25 | * @throws ContainerExceptionInterface |
||
26 | */ |
||
27 | public function __invoke(ContainerInterface $container, string $requestedName, array $options = null): \StdClass |
||
35 | } |
||
36 | } |
||
37 |