Skip to content

make:entitiy: Suggestion: Add enumType #1233

@ThomasLandauer

Description

@ThomasLandauer

I'm suggesting to add this possible outcome to the wizard:

#[ORM\Column(nullable:true, enumType: Suit::class)]
private ?Suit $suit = null;

Maybe via a dedicated enum entry in the types list, then by inferring the actual type (i.e. string or int) from the enum itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions