Support the ongoing development of Laravel.io →
posted 8 years ago
Input
Last updated 4 months ago.
0

Do you also have a getArguments method on your command? Make sure it returns an array as well.

Last updated 4 months ago.
0

Yes it returns array. As I said, without using the option, working with arguments works very well, but when I add --insert_data=something as an option in command line, it breaks with this error.

Last updated 4 months ago.
0

Sign in to participate in this thread!

LoadForge

Your banner here too?

deb0rian deb0rian Joined 16 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.