__invoke()
__invoke(\Interop\Container\ContainerInterface $container, string $requestedName, array $options = null) : \Translate\Service\TranslationManager
This method creates the TranslationManager service and returns its instance after getting TranslationSaver and setting TranslationManager on same
Parameters
\Interop\Container\ContainerInterface | $container | |
string | $requestedName | |
array | $options |
Throws
- \Exception