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 15885f2 commit f798f1eCopy full SHA for f798f1e
components/yaml.rst
@@ -346,7 +346,7 @@ In addition to the built-in support of tags like ``!php/const`` and
346
$data = "!my_tag { foo: bar }";
347
$parsed = Yaml::parse($data, Yaml::PARSE_CUSTOM_TAGS);
348
// $parsed = Symfony\Component\Yaml\Tag\TaggedValue('my_tag', array('foo' => 'bar'));
349
- $tagName = $parsed->getTag(); // $tagName = 'my_tag'
+ $tagName = $parsed->getTag(); // $tagName = 'my_tag'
350
$tagValue = $parsed->getValue(); // $tagValue = array('foo' => 'bar')
351
352
If the contents to dump contain :class:`Symfony\\Component\\Yaml\\Tag\\TaggedValue`
0 commit comments