We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f46d95 commit df014a7Copy full SHA for df014a7
1 file changed
docs/en/reference/basic-mapping.rst
@@ -319,7 +319,7 @@ Mapping PHP Enums
319
.. versionadded:: 2.11
320
321
Doctrine natively supports mapping PHP backed enums to database columns.
322
-A backed enum is a PHP enum that has a scalar type (``string`` or ``int``)
+A backed enum is a PHP enum that the same scalar type (``string`` or ``int``)
323
assigned to each case. Doctrine stores the scalar value in the database and
324
converts it back to the enum instance when hydrating the entity.
325
0 commit comments