Fully Qualified Name: | Zend\I18n\Translator\TranslatorServiceFactory |
Implements: | FactoryInterface |
Translator.
Name | Description | Defined By |
---|---|---|
__invoke() | Create a Translator instance. | TranslatorServiceFactory |
createService() | zend-servicemanager v2 factory for creating Translator instance. | TranslatorServiceFactory |
Create a Translator instance.
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$requestedName | string | |
$options | null|array |
Returns: \Translator
zend-servicemanager v2 factory for creating Translator instance.
Proxies to __invoke()
.
Parameter Name | Type | Description |
---|---|---|
$serviceLocator | \ServiceLocatorInterface |
Returns: \Translator