Total Complexity | 1 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class ImageBuilderFactory implements FactoryInterface |
||
15 | { |
||
16 | /** |
||
17 | * Create an object |
||
18 | * |
||
19 | * @param ContainerInterface $container |
||
20 | * @param string $requestedName |
||
21 | * @param null|array $options |
||
22 | * @return object |
||
23 | * @throws ServiceNotFoundException if unable to resolve the service. |
||
24 | * @throws ServiceNotCreatedException if an exception is raised when |
||
25 | * creating a service. |
||
26 | * @throws ContainerException if any other error occurs |
||
27 | */ |
||
28 | 1 | public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) |
|
35 |