You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
->info('Auto generate mode possible values are: "NEVER", "ALWAYS", "FILE_NOT_EXISTS", "EVAL", "FILE_NOT_EXISTS_OR_CHANGED", this option is ignored when the "enable_native_lazy_objects" option is true')
469
-
->validate()
470
-
->ifTrue(function ($v) {
471
-
$generationModes = $this->getAutoGenerateModes();
472
-
473
-
if (is_int($v) && in_array($v, $generationModes['values']/*array(0, 1, 2, 3)*/)) {
474
-
returnfalse;
475
-
}
476
-
477
-
if (is_bool($v)) {
478
-
returnfalse;
479
-
}
480
-
481
-
if (is_string($v)) {
482
-
if (in_array(strtoupper($v), $generationModes['names']/*array('NEVER', 'ALWAYS', 'FILE_NOT_EXISTS', 'EVAL', 'FILE_NOT_EXISTS_OR_CHANGED')*/)) {
483
-
returnfalse;
484
-
}
485
-
}
486
-
487
-
returntrue;
488
-
})
489
-
->thenInvalid('Invalid auto generate mode value %s')
->info('Configures the path where generated proxy classes are saved when using non-native lazy objects, this option is ignored when the "enable_native_lazy_objects" option is true')
503
-
->end()
504
-
->scalarNode('proxy_namespace')
505
-
->defaultValue('Proxies')
506
-
->info('Defines the root namespace for generated proxy classes when using non-native lazy objects, this option is ignored when the "enable_native_lazy_objects" option is true')
458
+
->defaultTrue()
459
+
->info('no-op, will be deprecated and removed in the future')
507
460
->end()
508
461
->arrayNode('controller_resolver')
509
462
->canBeDisabled()
@@ -833,33 +786,4 @@ private function getOrmCacheDriverNode(string $name): ArrayNodeDefinition
833
786
834
787
return$node;
835
788
}
836
-
837
-
/**
838
-
* Find proxy auto generate modes for their names and int values
0 commit comments