feature#9147 [Translator] added getLoaders() method (fabpot)
This PR was merged into the master branch.
Discussion
----------
[Translator] added getLoaders() method
see #8984
Commits
-------
6cb4c7c
added getLoaders() method
This commit is contained in:
commit
21bddb83c1
@ -222,6 +222,16 @@ class Translator implements TranslatorInterface
|
||||
return strtr($this->selector->choose($catalogue->get($id, $domain), (int) $number, $locale), $parameters);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the loaders.
|
||||
*
|
||||
* @return array LoaderInterface[]
|
||||
*/
|
||||
protected function getLoaders()
|
||||
{
|
||||
return $this->loaders;
|
||||
}
|
||||
|
||||
protected function loadCatalogue($locale)
|
||||
{
|
||||
try {
|
||||
|
Reference in New Issue
Block a user