Resque\Queue::__construct PHP Method

__construct() public method

Create a new queue instance
public __construct ( string $default = null )
$default string Name of default queue to add job to
    public function __construct($default = null)
    {
        $this->redis = Redis::instance();
        $this->default = $default ?: \Resque::getConfig('default.jobs.queue', 'default');
    }