public static function contentToCatalogue($content, $locale, $domain)
    {
        $loader = new XliffLoader();
        $catalogue = new MessageCatalogue($locale);
        $loader->extractFromContent($content, $catalogue, $domain);

        return $catalogue;
    }
public static function contentToCatalogue($content, $locale, $domain)
    {
        $loader = new XliffLoader();
        $catalogue = new MessageCatalogue($locale);
        $loader->extractFromContent($content, $catalogue, $domain);

        return $catalogue;
    }
public static function contentToCatalogue ( $ content , $ locale , $ domain ) { $ loader = new XliffLoader ( ) ; $ catalogue = new MessageCatalogue ( $ locale ) ; $ loader -> extractFromContent ( $ content , $ catalogue , $ domain ) ; return $ catalogue ; }
Create a catalogue from the contents of a XLIFF file.

@param string $content
@param string $locale
@param string $domain

@return MessageCatalogue
Create a catalogue from the contents of a XLIFF file .