Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace Symfony\Component\Translation\Writer; Chris@14: Chris@14: use Symfony\Component\Translation\Exception\InvalidArgumentException; Chris@14: use Symfony\Component\Translation\MessageCatalogue; Chris@14: Chris@14: /** Chris@14: * TranslationWriter writes translation messages. Chris@14: * Chris@14: * @author Michel Salib Chris@14: */ Chris@14: interface TranslationWriterInterface Chris@14: { Chris@14: /** Chris@14: * Writes translation from the catalogue according to the selected format. Chris@14: * Chris@14: * @param MessageCatalogue $catalogue The message catalogue to write Chris@14: * @param string $format The format to use to dump the messages Chris@14: * @param array $options Options that are passed to the dumper Chris@14: * Chris@14: * @throws InvalidArgumentException Chris@14: */ Chris@17: public function write(MessageCatalogue $catalogue, $format, $options = []); Chris@14: }