| 1 | <?php |
||
| 25 | class LocaleFactory implements FactoryInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * Create an object |
||
| 29 | * |
||
| 30 | * @param ContainerInterface $container |
||
| 31 | * @param string $requestedName |
||
| 32 | * @param null|array $options |
||
| 33 | * |
||
| 34 | * @return object |
||
| 35 | * @throws ServiceNotFoundException if unable to resolve the service. |
||
| 36 | * @throws ServiceNotCreatedException if an exception is raised when |
||
| 37 | * creating a service. |
||
| 38 | * @throws ContainerException if any other error occurs |
||
| 39 | */ |
||
| 40 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
||
| 46 | |||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc} |
||
| 50 | * |
||
| 51 | * @param ServiceLocatorInterface $serviceLocator |
||
| 52 | * @return ModuleOptions |
||
| 53 | */ |
||
| 54 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 58 | } |
||
| 59 |