generated from archtechx/template
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Is there a way to have a metadata lists likes the options functions.
Exemple : I have a enum
/**
-
@method string description()
*/#[Meta(Description::class)]
enum AccessType: string
{
use InvokableCases;
use Options;
use Metadata;#[Description('Need to register')]
case INSCRIPTION = 'INSCRIPTION';#[Description('By invite Only')]
case INVITE = 'INVITE';#[Description('Open to everyone')]
case OPENED = 'OPENED';
}
I would like to have an option that will give me values and descriptions, or names and descriptions.
Metadata
Metadata
Assignees
Labels
No labels