public function getCatalogue($locale = null)
    {
        if ($this->translator instanceof TranslatorBagInterface) {
            return $this->translator->getCatalogue($locale);
        }

        return null;
    }
public function getCatalogue($locale = null)
    {
        if ($this->translator instanceof TranslatorBagInterface) {
            return $this->translator->getCatalogue($locale);
        }

        return null;
    }
public function getCatalogue ( $ locale = null ) { if ( $ this -> translator instanceof TranslatorBagInterface ) { return $ this -> translator -> getCatalogue ( $ locale ) ; } return null ; }
Gets the catalogue by locale.

@param string|null $locale The locale or null to use the default

@return MessageCatalogueInterface

@throws InvalidArgumentException If the locale contains invalid characters
Gets the catalogue by locale .