public function unserialize($buffer)
    {
        $this->__construct([]);
        $this->_buffer = unserialize($buffer);
        $this->_started = true;
        $this->_finished = true;
    }
public function unserialize($buffer)
    {
        $this->__construct([]);
        $this->_buffer = unserialize($buffer);
        $this->_started = true;
        $this->_finished = true;
    }
public function unserialize ( $ buffer ) { $ this -> __construct ( [ ] ) ; $ this -> _buffer = unserialize ( $ buffer ) ; $ this -> _started = true ; $ this -> _finished = true ; }
Unserializes the passed string and rebuilds the BufferedIterator instance

@param string $buffer The serialized buffer iterator
@return void
Unserializes the passed string and rebuilds the BufferedIterator instance