\Translate\Controller\FactoryTranslationControllerFactory

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

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\Controller\TranslationController

This method creates the TranslationController service and returns its instance after getting TranslationManager

Parameters

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

Returns

\Translate\Controller\TranslationController