Inline::parseScalar()

static string parseScalar(string $scalar, int $flags, string $delimiters = null, array $stringDelimiters = array('"', '\''), int $i, bool $evaluate = true, array $references = array())

Parses a scalar to a YAML string.

Parameters

string $scalar
int $flags
string $delimiters
array $stringDelimiters
int $i &$i
bool $evaluate
array $references

Return Value

string A YAML string

Exceptions

ParseException When malformed inline YAML string is parsed
doc_Symfony
2016-10-28 06:21:04
Comments
Leave a Comment

Please login to continue.