Skip to content

Commit cd6e010

Browse files
committed
feature #24330 [FrameworkBundle] register class metadata factory alias (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] register class metadata factory alias | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #24296 | License | MIT | Doc PR | Commits ------- d0235a00cc register class metadata factory alias
2 parents 8cccd41 + 31c40f1 commit cd6e010

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Resources/config/serializer.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
<argument>null</argument>
5353
</service>
5454

55+
<service id="Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface" alias="serializer.mapping.class_metadata_factory" />
56+
5557
<!-- Cache -->
5658
<service id="serializer.mapping.cache_warmer" class="Symfony\Bundle\FrameworkBundle\CacheWarmer\SerializerCacheWarmer">
5759
<argument type="collection" /><!-- Loaders injected by the extension -->

0 commit comments

Comments
 (0)