added getLoaders() method
This commit is contained in:
parent
e24dbf7cba
commit
6cb4c7c70e
@ -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