\Translate\Mvc\I18nTranslatorFactory

Class TranslatorFactory used to instantiate MvcTranslator

Summary

Methods
Properties
Constants
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__invoke()

__invoke(\Interop\Container\ContainerInterface  $container, string  $requestedName, array  $options = null) : \Zend\Mvc\I18n\Translator

This is the factory for MvcTranslator. Its purpose is to instantiate MvcTranslator and inject dependencies into it.

Parameters

\Interop\Container\ContainerInterface $container
string $requestedName
array $options

Returns

\Zend\Mvc\I18n\Translator