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
Copy file name to clipboardExpand all lines: src/TypesGeneratorConfiguration.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,7 @@ static function ($rdf) {
169
169
->end()
170
170
->scalarNode('parent')->defaultFalse()->info('The parent class, set to false for a top level class')->end()
171
171
->scalarNode('guessFrom')->defaultValue('Thing')->info('If declaring a custom class, this will be the class from which properties type will be guessed')->end()
172
+
->scalarNode('security')->defaultNull()->info('Security directive for the class')->end()
172
173
->booleanNode('allProperties')->defaultFalse()->info('Import all existing properties')->end()
173
174
->arrayNode('properties')
174
175
->info('Properties of this type to use')
@@ -194,6 +195,7 @@ static function ($rdf) {
194
195
->example('{type: "decimal", precision: 5, scale: 1, options: {comment: "my comment"}}')
195
196
->prototype('variable')->end()
196
197
->end()
198
+
->scalarNode('security')->defaultNull()->info('Security directive for the property')->end()
0 commit comments