minor #23765 [FrameworkBundle] Fix comment (Lctrs)
This PR was merged into the 3.3 branch.
Discussion
----------
[FrameworkBundle] Fix comment
| Q | A
| ------------- | ---
| Branch? | 3.3
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | no
| Fixed tickets |
| License | MIT
| Doc PR |
Actually, DataUriNormalizer runs before the serializer.normalizer.object since it has a higher priority (-920 vs -1000).
Commits
-------
103b23e
Fix comment
This commit is contained in:
commit
a479583a81
@ -1273,7 +1273,7 @@ class FrameworkExtension extends Extension
|
||||
private function registerSerializerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
|
||||
{
|
||||
if (class_exists('Symfony\Component\Serializer\Normalizer\DataUriNormalizer')) {
|
||||
// Run after serializer.normalizer.object
|
||||
// Run before serializer.normalizer.object
|
||||
$definition = $container->register('serializer.normalizer.data_uri', DataUriNormalizer::class);
|
||||
$definition->setPublic(false);
|
||||
$definition->addTag('serializer.normalizer', array('priority' => -920));
|
||||
|
Reference in New Issue
Block a user