src/Client/Queue.php
public function scan($count = 50, $min = 0, $max = 0, $rate = 0)
    {
        $iterator = new QScanIterator($this->stream, $this->log);
        $iterator->setCount($count)
            ->setMin($min)
            ->setMax($max)
            ->setRate($rate);

        return $iterator;
    }
public function scan($count = 50, $min = 0, $max = 0, $rate = 0)
    {
        $iterator = new QScanIterator($this->stream, $this->log);
        $iterator->setCount($count)
            ->setMin($min)
            ->setMax($max)
            ->setRate($rate);

        return $iterator;
    }
public function scan ( $ count = 50 , $ min = 0 , $ max = 0 , $ rate = 0 ) { $ iterator = new QScanIterator ( $ this -> stream , $ this -> log ) ; $ iterator -> setCount ( $ count ) -> setMin ( $ min ) -> setMax ( $ max ) -> setRate ( $ rate ) ; return $ iterator ; }
Scan all existing queues.

Options may be used to filter the scan results.

@param int $count Return count elements per call. A count of 0 implies returning all elements at once.
@param int $min Filter queues with at least min elements.
@param int $max Filter queues with at most max elements.
@param int $rate Filter queues by job import rate.

@return Iterator
Scan all existing queues .