Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a79719b

Browse filesBrowse files
committed
remove definition directly in the FrameworkExtension class
1 parent 1b26a45 commit a79719b
Copy full SHA for a79719b

File tree

2 files changed

+1
-19
lines changed
Filter options

2 files changed

+1
-19
lines changed

‎src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,7 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
17061706
{
17071707
$loader->load('serializer.php');
17081708
if ($container->getParameter('kernel.debug')) {
1709-
$loader->load('serializer_debug.php');
1709+
$container->removeDefinition('serializer.mapping.cache_class_metadata_factory');
17101710
}
17111711

17121712
$chainLoader = $container->getDefinition('serializer.mapping.chain_loader');

‎src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer_debug.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer_debug.php
-18Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.