Support the ongoing development of →
IOC Packages
Last updated 2 years ago.

In your app/start/artisan.php file are you doing:

new CommandClassName

If so, then it's not resolving out of the container, meaning that it won't automatically resolve constructor dependencies.

I've never done this, but it should work..

Last updated 2 years ago.

Where would i put that? I tried in the boot method in the service provider, but that doesn't do anything.

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?

calebdre calebdre Joined 2 Feb 2014


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.

© 2024 - All rights reserved.