Fixing undefined notices by changing visibility back to protected for sompe properties and methods.

This commit is contained in:
Miha Vrhovnik 2011-03-09 10:24:16 +01:00
parent 9f0f127e6a
commit 76d664faa6

View File

@ -20,8 +20,8 @@ use Symfony\Component\Translation\Loader\LoaderInterface;
*/
class Translator implements TranslatorInterface
{
private $catalogues;
private $locale;
protected $catalogues;
protected $locale;
private $fallbackLocale;
private $loaders;
private $resources;
@ -131,7 +131,7 @@ class Translator implements TranslatorInterface
return strtr($this->selector->choose($this->catalogues[$locale]->get($id, $domain), (int) $number, $locale), $parameters);
}
private function loadCatalogue($locale)
protected function loadCatalogue($locale)
{
$this->catalogues[$locale] = new MessageCatalogue($locale);