\Translate\Service\FactoryTranslationSaverFactory

This is the factory class for UserManager service. The purpose of the factory is to instantiate the service and pass it dependencies (inject dependencies).

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) : \Translate\Service\TranslationSaver

This method creates the TranslationSaver service and returns its instance.

and passes array of translator file(s) locations which must be set in each module's module.config

Parameters

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

Returns

\Translate\Service\TranslationSaver