Translate

Controller plugin for translating a message.
extends Zend\Mvc\Controller\Plugin\AbstractPlugin
Methods Summary
public
# __construct( Zend\I18n\Translator\TranslatorInterface $translator )
Construct the plugin.
public
# __invoke( string $message , string $textDomain = 'default', string $locale = NULL )
Translate a message
Methods inherited from Zend\Mvc\Controller\Plugin\AbstractPlugin
setController(), getController()
Properties Summary
protected Zend\I18n\Translator\TranslatorInterface $translator
# NULL
Properties inherited from Zend\Mvc\Controller\Plugin\AbstractPlugin
$controller