Predis\Response\Iterator\MultiBulk::__destruct PHP Method

__destruct() public method

Handles the synchronization of the client with the Redis protocol when the garbage collector kicks in (e.g. when the iterator goes out of the scope of a foreach or it is unset).
public __destruct ( )
    public function __destruct()
    {
        $this->drop(true);
    }