Symfony\Component\Yaml\Parser::parseValue
Parses a YAML value.
Signature
private function parseValue(string
$value,
Boolean
$exceptionOnInvalidType,
Boolean
$objectSupport )
Parameters
$value
— string- A YAML value
$exceptionOnInvalidType
— object- True if an exception must be thrown on invalid types false otherwise
$objectSupport
— object- True if object support is enabled, false otherwise
Returns
- mixed
- A PHP value
Errors/Exceptions
-
ParseException
- When reference does not exist