Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] Adds Enums folder to make:enum command #50394

Closed
wants to merge 3 commits into from

Conversation

milwad-dev
Copy link
Contributor

It is better to create enum classes in the Enums folder, like Models

Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would love to see this change as well 👍

@laserhybiz
Copy link

Why is this different than regular class?, isn't it possible to specify the namespace when executing the command?

@driesvints
Copy link
Member

Because a regular class isn't a type of object.

@driesvints driesvints changed the base branch from master to 11.x March 7, 2024 14:02
@taylorotwell
Copy link
Member

Would rather keep this flexible by default like classes and traits. I personally would tend to group these close to the thing they are attached to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants