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

[9.x] Add inbound option to CastMakeCommand #41838

Merged
merged 2 commits into from
Apr 5, 2022

Conversation

smokills
Copy link
Contributor

@smokills smokills commented Apr 5, 2022

Hi all! It's me, again.

I know, maybe 3 PR in a so short time is too much, but I'm working on a quite big project, and while I'm developing features, I'm also trying to find some little common patterns that maybe can be helpful to the rest of the community as well. One of those is the ability to generate inbound cast classes with the make:cast command. I saw that previously someone tried to add this feature, but the PR wasn't merged.

I'm finding this, in my case obviously, very helpful, because I'm using a lot of Inbound Casts, and maybe someone else could benefit from this.

I also tried to write tests, but I didn't manage to find where the tests for generators commands are. So if you are going to merge this, I will be grateful if you can suggest to me where to find them.

Thanks a lot again for your time!

@smokills smokills changed the title feat: add inbound option to CastMakeCommand [9.x] Add inbound option to CastMakeCommand Apr 5, 2022
@taylorotwell taylorotwell merged commit 8d38396 into laravel:9.x Apr 5, 2022
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.

2 participants