src/Pipeline/Pipeline.php
public function flushPipeline($send = true)
    {
        if ($send && !$this->pipeline->isEmpty()) {
            $responses = $this->executePipeline($this->getConnection(), $this->pipeline);
            $this->responses = array_merge($this->responses, $responses);
        } else {
            $this->pipeline = new \SplQueue();
        }

        return $this;
    }
public function flushPipeline($send = true)
    {
        if ($send && !$this->pipeline->isEmpty()) {
            $responses = $this->executePipeline($this->getConnection(), $this->pipeline);
            $this->responses = array_merge($this->responses, $responses);
        } else {
            $this->pipeline = new \SplQueue();
        }

        return $this;
    }
public function flushPipeline ( $ send = true ) { if ( $ send && ! $ this -> pipeline -> isEmpty ( ) ) { $ responses = $ this -> executePipeline ( $ this -> getConnection ( ) , $ this -> pipeline ) ; $ this -> responses = array_merge ( $ this -> responses , $ responses ) ; } else { $ this -> pipeline = new \ SplQueue ( ) ; } return $ this ; }
Flushes the buffer holding all of the commands queued so far.

@param bool $send Specifies if the commands in the buffer should be sent to Redis.

@return $this
Flushes the buffer holding all of the commands queued so far .