We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
doctrine.orm.enable_native_lazy_objects
1 parent ffbb798 commit 618fcdaCopy full SHA for 618fcda
tests/Fixtures/Kernel.php
@@ -186,6 +186,9 @@ protected function configureContainer(ContainerConfigurator $c): void
186
if (version_compare($doctrineBundleVersion, '2.12.0', '>=')) {
187
$doctrineConfig['orm']['controller_resolver']['auto_mapping'] = false;
188
}
189
+ if (\PHP_VERSION_ID >= 80400 && version_compare($doctrineBundleVersion, '2.15.0', '>=')) {
190
+ $doctrineConfig['orm']['enable_native_lazy_objects'] = true;
191
+ }
192
193
194
$c->extension('doctrine', $doctrineConfig);
0 commit comments