null, '--stop-when-empty' => null, ]); Log::info(Artisan::output()); ///** @var App\Support\WorkCommand $queueWorker */ //$queueWorker = new App\Support\WorkCommand(app('queue.worker'), app('cache.store')); //$queueWorker->setInput($queueWorker->createInputFromArguments([])); //$queueWorker->handle(); /*$output = $this->call('queue:work', [ '--stop-when-empty' => null, ]); Log::info($output);*/ } }