public function rewind()
    {
        if (!($this->inputStream instanceof Seekable)) {
            return;
        }

        $this->inputStream->seek(0, Seekable::SET);
        $this->lineNumber  = 0;
        $this->currentLine = null;
        $this->next();
    }
public function rewind()
    {
        if (!($this->inputStream instanceof Seekable)) {
            return;
        }

        $this->inputStream->seek(0, Seekable::SET);
        $this->lineNumber  = 0;
        $this->currentLine = null;
        $this->next();
    }
public function rewind ( ) { if ( ! ( $ this -> inputStream instanceof Seekable ) ) { return ; } $ this -> inputStream -> seek ( 0 , Seekable :: SET ) ; $ this -> lineNumber = 0 ; $ this -> currentLine = null ; $ this -> next ( ) ; }
rewinds to first line
rewinds to first line