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

[7.x] Added CastMake command #32594

Merged
merged 4 commits into from
Apr 29, 2020
Merged

[7.x] Added CastMake command #32594

merged 4 commits into from
Apr 29, 2020

Conversation

voidgraphics
Copy link
Contributor

It appeared to me that there is no artisan command to easily create a new cast class.

So I've added artisan make:cast which is very simple. It just takes the name of the cast as a parameter and saves it in app\Casts.

Let me know if anything could be done better!

@taylorotwell taylorotwell merged commit 9629669 into laravel:7.x Apr 29, 2020
@GrahamCampbell GrahamCampbell changed the title Added CastMake command [7.x] Added CastMake command Apr 30, 2020
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