Skip to content

Commit 2f0146b

Browse files
committed
Add support for extensions to prepend configuration for the db_driver option. If "cannotBeOverwritten()" is called then any extension trying to prepend the configuration can not modify the configuration value which makes the application configuration have to be more explicit. Having this support is useful where a child bundle to the FOSOAuthServerBundle might already know the DB driver that needs to be used.
1 parent d921116 commit 2f0146b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function getConfigTreeBuilder()
3939
->ifNotInArray($supportedDrivers)
4040
->thenInvalid('The driver %s is not supported. Please choose one of ' . json_encode($supportedDrivers))
4141
->end()
42-
->cannotBeOverwritten()
4342
->isRequired()
4443
->cannotBeEmpty()
4544
->end()

0 commit comments

Comments
 (0)