Skip to content
Discussion options

You must be logged in to vote

So i made progress by resolving the bound custom worker in WorkEnvironmentCommand class

public function __construct(\Illuminate\Queue\Worker $worker, Cache $cache)
{
	$this->$worker = \App::make(App\Console\Commands\Queue\Worker::class);
        parent::__construct($worker, $cache);
}

But next i get error

 Unresolvable dependency resolving [Parameter #3 [ <required> callable $isDownForMaintenance ]] in class Illuminate\Queue\Worker

Where and how should i pass this $isDownForMaintenance?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NitishKumarPatra
Comment options

Answer selected by NitishKumarPatra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant