Parser
Parser
class Parser
Parser parses YAML strings to convert them to PHP arrays.
Constants
TAG_PATTERN | |
BLOCK_SCALAR_HEADER_PATTERN |
Methods
__construct(int $offset, int|null $totalNumberOfLines = null, array $skippedLineNumbers = array()) Constructor. | ||
mixed | parse(string $value, int $flags) Parses a YAML string to a PHP value. |
Details
__construct(int $offset, int|null $totalNumberOfLines = null, array $skippedLineNumbers = array())
Constructor.
mixed parse(string $value, int $flags)
Parses a YAML string to a PHP value.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Yaml/Parser.html