schmittjoh / serializer

Library for (de-)serializing data of any complexity (supports JSON, and XML)
http://jmsyst.com/libs/serializer
MIT License
2.32k stars 589 forks source link

Enable constants in YAML files with `!php/const` prefix. #1496

Closed Nathanael-Shermett closed 1 year ago

Nathanael-Shermett commented 1 year ago
Q A
Bug fix? no
New feature? yes
Doc updated yes
BC breaks? no (unless !php/const Some\Class::CONSTANT was used as a literal YAML string)
Deprecations? no
Tests pass? yes
Fixed tickets no
License MIT

Enables a helpful feature in the Symfony Yaml component. See here.