Class TranslatorFactory

Summary

Fully Qualified Name: Laminas\Mvc\I18n\TranslatorFactory
Implements: FactoryInterface

Description

Overrides the translator factory from the i18n component in order to replace it with the bridge class from this namespace.

Methods

Name Description Defined By
__invoke() TranslatorFactory
createService() Create and return MvcTranslator instance TranslatorFactory

Method Details

__invoke()

Parameter Name Type Description
$container \ContainerInterface
$name string
$options null|array

Returns: \MvcTranslator

createService()

Create and return MvcTranslator instance

For use with laminas-servicemanager v2; proxies to __invoke().

Parameter Name Type Description
$container \ServiceLocatorInterface

Returns: \MvcTranslator

Top