public function clear()
    {
        while (!$this->queue->isEmpty()) {
            $this->queue->pop();
        }

        $this->queue = null;
    }
public function clear()
    {
        while (!$this->queue->isEmpty()) {
            $this->queue->pop();
        }

        $this->queue = null;
    }
public function clear ( ) { while ( ! $ this -> queue -> isEmpty ( ) ) { $ this -> queue -> pop ( ) ; } $ this -> queue = null ; }
Empty the resource pool - Release all connections
Empty the resource pool - Release all connections