Support the ongoing development of Laravel.io →
posted 10 years ago
Input
Last updated 2 years ago.
0

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

Last updated 2 years 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 2 years ago.
0

Sign in to participate in this thread!

Eventy

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?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.