\TranslateModule

Entry point for Module called as part of ZF3 start up

Summary

Methods
Properties
Constants
getConfig()
onBootstrap()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
setLocaleAndTraslator()
No private properties found
N/A

Methods

getConfig()

getConfig() 

This method returns the path to module.config.php file.

onBootstrap()

onBootstrap(\Zend\Mvc\MvcEvent  $event) 

Called on bootstrap event

Parameters

\Zend\Mvc\MvcEvent $event

setLocaleAndTraslator()

setLocaleAndTraslator(\Zend\Mvc\MvcEvent  $event, \Zend\ServiceManager\ServiceManager  $serviceManager) : string

Set locale and translator

Parameters

\Zend\Mvc\MvcEvent $event
\Zend\ServiceManager\ServiceManager $serviceManager

Returns

string —

the locale to be used