Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9da5efd

Browse files
committed
Mention that enums must be backed enums
1 parent7c4efe8 commit9da5efd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎reference/forms/types/enum.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ Example Usage
3030
-------------
3131

3232
Before using this field, you'll need to have some PHP enumeration (or "enum" for
33-
short) defined somewhere in your application::
33+
short) defined somewhere in your application. This enum has to be of type
34+
"backed enum", where each keyword defines a scalar value such a string::
3435

3536
// src/Config/TextAlign.php
3637
namespace App\Config;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp