public function resetCoordinates($resetMax = false)
    {
        $this->currentColumn = reset($this->columns);
        $this->currentRow = 1;

        if ($resetMax) {
            $this->maxColumn = reset($this->columns);
            $this->maxRow = 1;
        }

        return $this;
    }
public function resetCoordinates($resetMax = false)
    {
        $this->currentColumn = reset($this->columns);
        $this->currentRow = 1;

        if ($resetMax) {
            $this->maxColumn = reset($this->columns);
            $this->maxRow = 1;
        }

        return $this;
    }
public function resetCoordinates ( $ resetMax = false ) { $ this -> currentColumn = reset ( $ this -> columns ) ; $ this -> currentRow = 1 ; if ( $ resetMax ) { $ this -> maxColumn = reset ( $ this -> columns ) ; $ this -> maxRow = 1 ; } return $ this ; }
Reset the coordinates back to initial values

@param bool $resetMax
@return Sheet
Reset the coordinates back to initial values