Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Translation; Chris@0: Chris@0: use Symfony\Component\Translation\Exception\InvalidArgumentException; Chris@0: Chris@0: /** Chris@0: * TranslatorBagInterface. Chris@0: * Chris@0: * @author Abdellatif Ait boudad Chris@0: */ Chris@0: interface TranslatorBagInterface Chris@0: { Chris@0: /** Chris@0: * Gets the catalogue by locale. Chris@0: * Chris@0: * @param string|null $locale The locale or null to use the default Chris@0: * Chris@0: * @return MessageCatalogueInterface Chris@0: * Chris@0: * @throws InvalidArgumentException If the locale contains invalid characters Chris@0: */ Chris@0: public function getCatalogue($locale = null); Chris@0: }