Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Add documentation for enum property.rst#20887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.2
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
A note and an example class for the enum type which has an undocumented peculiarity on the path to give
I am not sure I understand what this is trying to clarify. Can you elaborate a bit on your idea? |
When adding an enum type property, you must put a path and not just the name of the entity as for relationships for example. |
Uh oh!
There was an error while loading.Please reload this page.
// src/Entity/Enums/State.php | ||
namespace App\Entity\Enums; | ||
enum Etat: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
enumEtat: string | |
enumState: string |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
i like your Readme.me github ;-)
patchsCo-authored-by: Oskar Stark <oskarstark@googlemail.com>
A note and an example class for the enum type which has an undocumented peculiarity on the path to give