You are here

public function TranslatorBagInterface::getCatalogue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/TranslatorBagInterface.php \Symfony\Component\Translation\TranslatorBagInterface::getCatalogue()

Gets the catalogue by locale.

Parameters

string|null $locale The locale or null to use the default:

Return value

MessageCatalogueInterface

Throws

\InvalidArgumentException If the locale contains invalid characters

3 methods override TranslatorBagInterface::getCatalogue()
DataCollectorTranslator::getCatalogue in vendor/symfony/translation/DataCollectorTranslator.php
Gets the catalogue by locale.
LoggingTranslator::getCatalogue in vendor/symfony/translation/LoggingTranslator.php
Gets the catalogue by locale.
Translator::getCatalogue in vendor/symfony/translation/Translator.php
Gets the catalogue by locale.

File

vendor/symfony/translation/TranslatorBagInterface.php, line 30

Class

TranslatorBagInterface
TranslatorBagInterface.

Namespace

Symfony\Component\Translation

Code

public function getCatalogue($locale = null);