Class Parser
Parser parses YAML strings to convert them to PHP arrays.
Namespace: Symfony\Component\Yaml
Author: Fabien Potencier <fabien@symfony.com>
Located at vendor/symfony/yaml/Parser.php
Author: Fabien Potencier <fabien@symfony.com>
Located at vendor/symfony/yaml/Parser.php
Methods summary
public
|
#
__construct( integer $offset = 0, integer|null $totalNumberOfLines = null, array $skippedLineNumbers = array() )
Constructor. |
public
mixed
|
Magic methods summary
Constants summary
string |
BLOCK_SCALAR_HEADER_PATTERN
|
'(?P<separator>\||>)(?P<modifiers>\+|\-|\d+|\+\d+|\-\d+|\d+\+|\d+\-)?(?P<comments> +#.*)?' |
|
string |
FOLDED_SCALAR_PATTERN
|
|