Commaaa2
This commit is contained in:
@@ -30,6 +30,8 @@ class TranslationWriter implements TranslationWriterInterface
|
||||
|
||||
/**
|
||||
* Adds a dumper to the writer.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function addDumper(string $format, DumperInterface $dumper)
|
||||
{
|
||||
@@ -50,6 +52,8 @@ class TranslationWriter implements TranslationWriterInterface
|
||||
* @param string $format The format to use to dump the messages
|
||||
* @param array $options Options that are passed to the dumper
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*/
|
||||
public function write(MessageCatalogue $catalogue, string $format, array $options = [])
|
||||
|
||||
@@ -27,6 +27,8 @@ interface TranslationWriterInterface
|
||||
* @param string $format The format to use to dump the messages
|
||||
* @param array $options Options that are passed to the dumper
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
*/
|
||||
public function write(MessageCatalogue $catalogue, string $format, array $options = []);
|
||||
|
||||
Reference in New Issue
Block a user