File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -505,7 +505,9 @@ private function addOrmSection(ArrayNodeDefinition $node): void
505505 })
506506 ->end ()
507507 ->end ()
508- ->booleanNode ('enable_lazy_ghost_objects ' )->defaultValue (! method_exists (ProxyFactory::class, 'resetUninitializedProxy ' ))
508+ ->booleanNode ('enable_lazy_ghost_objects ' )
509+ ->defaultValue (! method_exists (ProxyFactory::class, 'resetUninitializedProxy ' ))
510+ ->info ('Enables the new implementation of proxies based on lazy ghosts instead of using the legacy implementation ' )
509511 ->end ()
510512 ->scalarNode ('proxy_dir ' )->defaultValue ('%kernel.cache_dir%/doctrine/orm/Proxies ' )->end ()
511513 ->scalarNode ('proxy_namespace ' )->defaultValue ('Proxies ' )->end ()
Original file line number Diff line number Diff line change @@ -219,6 +219,8 @@ Configuration Reference
219219 auto_generate_proxy_classes : false
220220 proxy_dir : " %kernel.cache_dir%/doctrine/orm/Proxies"
221221 proxy_namespace : Proxies
222+ # Enables the new implementation of proxies based on lazy ghosts instead of using the legacy implementation
223+ enable_lazy_ghost_objects : false
222224
223225 entity_managers :
224226
You can’t perform that action at this time.
0 commit comments