Default values for options and attributes config arrays
This commit is contained in:
parent
3d74fbdb94
commit
b42ef6b83b
|
@ -50,11 +50,13 @@ class Configuration extends PropelConfiguration
|
|||
->scalarNode('user')->isRequired()->end()
|
||||
->scalarNode('password')->isRequired()->treatNullLike('')->end()
|
||||
->arrayNode('options')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
->booleanNode('ATTR_PERSISTENT')->defaultFalse()->end()
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('attributes')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
->booleanNode('ATTR_EMULATE_PREPARES')->defaultFalse()->end()
|
||||
->end()
|
||||
|
|
Loading…
Reference in a new issue