Skip to content

Commit 21408fe

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: update enumClass to enumFqcn
2 parents ef50b86 + cc556a4 commit 21408fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/config/definition.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,14 @@ The configuration can now be written like this::
178178
->end()
179179
;
180180

181-
You can also use the ``enumClass()`` method to pass the FQCN of an enum
181+
You can also use the ``enumFqcn()`` method to pass the FQCN of an enum
182182
class to the node. This will automatically set the values of the node to
183183
the cases of the enum::
184184

185185
$rootNode
186186
->children()
187187
->enumNode('delivery')
188-
->enumClass(Delivery::class)
188+
->enumFqcn(Delivery::class)
189189
->end()
190190
->end()
191191
;

0 commit comments

Comments
 (0)