FileAccess Orion

TranslationWriter
in package
implements TranslationWriterInterface

TranslationWriter writes translation messages.

Tags
author

Michel Salib michelsalib@hotmail.com

Interfaces, Classes, Traits and Enums

TranslationWriterInterface
TranslationWriter writes translation messages.

Table of Contents

$dumpers  : mixed
addDumper()  : mixed
Adds a dumper to the writer.
disableBackup()  : mixed
Disables dumper backup.
getFormats()  : array<string|int, mixed>
Obtains the list of supported formats.
write()  : mixed
Writes translation from the catalogue according to the selected format.

Properties

Methods

disableBackup()

Disables dumper backup.

public disableBackup() : mixed
Tags
deprecated

since Symfony 4.1

Return values
mixed

getFormats()

Obtains the list of supported formats.

public getFormats() : array<string|int, mixed>
Return values
array<string|int, mixed>

write()

Writes translation from the catalogue according to the selected format.

public write(MessageCatalogue $catalogue, string $format[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$catalogue : MessageCatalogue
$format : string

The format to use to dump the messages

$options : array<string|int, mixed> = []

Options that are passed to the dumper

Tags
throws
InvalidArgumentException
Return values
mixed

Search results