YamlReader
class YamlReader implements Reader (View source)
Properties
protected | Parser | $parser |
Methods
protected
mixed
normaliseMessages(array $entities)
Flatten [class => [ key1 => value1, key2 => value2]] into [class.key1 => value1, class.key2 => value2]
Details
protected Parser
getParser()
No description
array
read(string $locale, string $path)
Get messages from this locale
protected mixed
normaliseMessages(array $entities)
Flatten [class => [ key1 => value1, key2 => value2]] into [class.key1 => value1, class.key2 => value2]
Inverse of YamlWriter::denormaliseMessages()