Resque\Queue::getQueue PHP Method

getQueue() protected method

Get the queue or return the default.
protected getQueue ( string | null $queue ) : string
$queue string | null Name of queue
return string
    protected function getQueue($queue)
    {
        return $queue ?: $this->default;
    }