public function DataCollectorTranslator::getCatalogue in Plug 7
Gets the catalogue by locale.
Parameters
string|null $locale The locale or null to use the default:
Return value
Throws
\InvalidArgumentException If the locale contains invalid characters
Overrides TranslatorBagInterface::getCatalogue
File
- lib/
Symfony/ translation/ DataCollectorTranslator.php, line 90
Class
- DataCollectorTranslator
- @author Abdellatif Ait boudad <a.aitboudad@gmail.com>
Namespace
Symfony\Component\TranslationCode
public function getCatalogue($locale = null) {
return $this->translator
->getCatalogue($locale);
}