Skip to content

Commit

Permalink
added getLoaders() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolab authored and fabpot committed Sep 27, 2013
1 parent 13bd39d commit ec3218d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ public function transChoice($id, $number, array $parameters = array(), $domain =
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 {
Expand Down

0 comments on commit ec3218d

Please sign in to comment.