| 1 | <?php |
||
| 23 | class SerializerFactory implements FactoryInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Create config serializer object. |
||
| 27 | * |
||
| 28 | * @param ContainerInterface $container |
||
| 29 | * @param string $requestedName |
||
| 30 | * @param null|array $options |
||
| 31 | * |
||
| 32 | * @return Serializer |
||
| 33 | * |
||
| 34 | * @throws ServiceNotFoundException if unable to resolve the service. |
||
| 35 | * @throws ServiceNotCreatedException if an exception is raised when creating a service. |
||
| 36 | * @throws ContainerException if any other error occurs |
||
| 37 | */ |
||
| 38 | 2 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
|
| 45 | } |
||
| 46 |