Illuminate\Queue\Console\WorkCommand::getQueue PHP Method

getQueue() protected method

Get the queue name for the worker.
protected getQueue ( string $connection ) : string
$connection string
return string
    protected function getQueue($connection)
    {
        return $this->option('queue') ?: $this->laravel['config']->get("queue.connections.{$connection}.queue", 'default');
    }