Skip to content

Commit a80ff31

Browse files
authored
update enumClass to enumFqcn
1 parent 6841060 commit a80ff31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/config/definition.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
190190
class to the node. This will automatically set the values of the node to
191191
the 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

208208
Array Nodes
209209
~~~~~~~~~~~

0 commit comments

Comments
 (0)