8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08bec02 commit 2758a3aCopy full SHA for 2758a3a
components/yaml.rst
@@ -390,7 +390,7 @@ In addition to the built-in support of tags like ``!php/const`` and
390
$data = "!my_tag { foo: bar }";
391
$parsed = Yaml::parse($data, Yaml::PARSE_CUSTOM_TAGS);
392
// $parsed = Symfony\Component\Yaml\Tag\TaggedValue('my_tag', array('foo' => 'bar'));
393
- $tagName = $parsed->getTag(); // $tagName = 'my_tag'
+ $tagName = $parsed->getTag(); // $tagName = 'my_tag'
394
$tagValue = $parsed->getValue(); // $tagValue = array('foo' => 'bar')
395
396
If the contents to dump contain :class:`Symfony\\Component\\Yaml\\Tag\\TaggedValue`
0 commit comments