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
->booleanNode('generateId')->defaultTrue()->info('Automatically add an id field to entities')->end()
50
50
->booleanNode('useInterface')->defaultFalse()->info('Generate interfaces and use Doctrine\'s Resolve Target Entity feature')->end()
51
-
->booleanNode('useDoctrineCollection')->defaultTrue()->info('Use Doctrine\'s ArrayCollection instead of standard arrays')->end()
52
51
->booleanNode('checkIsGoodRelations')->defaultFalse()->info('Emit a warning if a property is not derived from GoodRelations')->end()
53
52
->scalarNode('header')->defaultFalse()->info('A license or any text to use as header of generated files')->example('// (c) Kévin Dunglas <[email protected]>')->end()
54
53
->arrayNode('namespaces')
@@ -60,6 +59,14 @@ public function getConfigTreeBuilder()
60
59
->scalarNode('interface')->defaultValue('SchemaOrg\Model')->info('The namespace of the generated interfaces')->example('Acme\Model')->end()
61
60
->end()
62
61
->end()
62
+
->arrayNode('doctrine')
63
+
->addDefaultsIfNotSet()
64
+
->info('Doctrine')
65
+
->children()
66
+
->booleanNode('useCollection')->defaultTrue()->info('Use Doctrine\'s ArrayCollection instead of standard arrays')->end()
0 commit comments