Zend Framework  3.0
Public Member Functions | List of all members
TranslatorFactory Class Reference

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

Public Member Functions

 __invoke (ContainerInterface $container, $name, array $options=null)
 
 createService (ServiceLocatorInterface $container)
 Create and return MvcTranslator instance.
 

Detailed Description

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

Member Function Documentation

__invoke ( ContainerInterface  $container,
  $name,
array  $options = null 
)
Parameters
ContainerInterface$container
string$name
null | array$options
Returns
MvcTranslator

Implements FactoryInterface.

createService ( ServiceLocatorInterface  $container)

Create and return MvcTranslator instance.

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

Parameters
ServiceLocatorInterface$container
Returns
MvcTranslator

Implements FactoryInterface.