Where are you adding the command to Artisan? You'll need to add it like so:
Artisan::add(App::make('AttachUsers'));
The instance needs to be resolved through the container so it can automatically inject the dependencies.
Yes, I did. The only way to make it work so far is to NOT use the interface and instantiate the repository directly.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community