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()
73
+
->arrayNode('id')
74
+
->addDefaultsIfNotSet()
75
+
->info('IDs configuration')
76
+
->children()
77
+
->booleanNode('generate')->defaultTrue()->info('Automatically add an id field to entities')->end()
78
+
->enumNode('generationStrategy')->defaultValue('auto')->values(['auto', 'none', 'uuid', 'mongoid'])->info('The ID generation strategy to use ("none" to not let the database generate IDs).')->end()
79
+
->booleanNode('writable')->defaultFalse()->info('Is the ID writable? Only applicable if "generationStrategy" is "uuid".')->end()
80
+
->end()
81
+
->end()
74
82
->booleanNode('useInterface')->defaultFalse()->info('Generate interfaces and use Doctrine\'s Resolve Target Entity feature')->end()
75
83
->booleanNode('checkIsGoodRelations')->defaultFalse()->info('Emit a warning if a property is not derived from GoodRelations')->end()
76
84
->scalarNode('header')->defaultFalse()->info('A license or any text to use as header of generated files')->example('// (c) Kévin Dunglas <[email protected]>')->end()
0 commit comments