interface TranslatorBagInterface
TranslatorBagInterface.
MessageCatalogueInterface | getCatalogue(string|null $locale = null) Gets the catalogue by locale. |
Gets the catalogue by locale.
string|null | $locale | The locale or null to use the default |
MessageCatalogueInterface |
InvalidArgumentException | If the locale contains invalid characters |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Translation/TranslatorBagInterface.html