YamlWriter
class YamlWriter implements Writer (View source)
Write yml files compatible with ModuleYamlLoader
Note: YamlWriter may not correctly denormalise plural strings if writing outside of the default locale (en).
Methods
write(array $messages, string $locale, string $path)
No description
string
getYaml(array $messages, string $locale)
Convert messages to yml ready to write
Details
write(array $messages, string $locale, string $path)
string
getYaml(array $messages, string $locale)
Convert messages to yml ready to write