File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,14 +186,14 @@ The configuration can now be written like this::
186186 ->end()
187187 ;
188188
189- You can also use the ``enumClass () `` method to pass the FQCN of an enum
189+ You can also use the ``enumFqcn () `` method to pass the FQCN of an enum
190190class to the node. This will automatically set the values of the node to
191191the cases of the enum::
192192
193193 $rootNode
194194 ->children()
195195 ->enumNode('delivery')
196- ->enumClass (Delivery::class)
196+ ->enumFqcn (Delivery::class)
197197 ->end()
198198 ->end()
199199 ;
@@ -203,7 +203,7 @@ to one of the enum cases if possible.
203203
204204.. versionadded :: 7.3
205205
206- The ``enumClass () `` method was introduced in Symfony 7.3.
206+ The ``enumFqcn () `` method was introduced in Symfony 7.3.
207207
208208Array Nodes
209209~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments