| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class ObjectFactory implements ServiceFactoryInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param ContainerInterface $container |
||
| 20 | * @param string $name |
||
| 21 | * @param array|null $options |
||
| 22 | * |
||
| 23 | * @return object |
||
| 24 | * |
||
| 25 | * @throws ServiceFactoryException If the requested $name of the service is not a valid class name |
||
| 26 | */ |
||
| 27 | public function __invoke(ContainerInterface $container, string $name, array $options = null): object |
||
| 42 |