original_string: public function toArray($nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false)
      {
          // Garbage collect...
          $this->garbageCollect();
  
          //    Identify the range that we need to extract from the worksheet
          $maxCol = $this->getHighestColumn();
          $maxRow = $this->getHighestRow();
          // Return
          return $this->rangeToArray('A1:'.$maxCol.$maxRow, $nullValue, $calculateFormulas, $formatData, $returnCellRef);
      }
code: public function toArray($nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false)
      {
          // Garbage collect...
          $this->garbageCollect();
  
          //    Identify the range that we need to extract from the worksheet
          $maxCol = $this->getHighestColumn();
          $maxRow = $this->getHighestRow();
          // Return
          return $this->rangeToArray('A1:'.$maxCol.$maxRow, $nullValue, $calculateFormulas, $formatData, $returnCellRef);
      }
code_tokens: public function toArray ( $ nullValue = null , $ calculateFormulas = true , $ formatData = true , $ returnCellRef = false ) { // Garbage collect... $ this -> garbageCollect ( ) ; //    Identify the range that we need to extract from the worksheet $ maxCol = $ this -> getHighestColumn ( ) ; $ maxRow = $ this -> getHighestRow ( ) ; // Return return $ this -> rangeToArray ( 'A1:' . $ maxCol . $ maxRow , $ nullValue , $ calculateFormulas , $ formatData , $ returnCellRef ) ; }
docstring: Create array from worksheet
  
  @param mixed $nullValue Value returned in the array entry if a cell doesn't exist
  @param boolean $calculateFormulas Should formulas be calculated?
  @param boolean $formatData  Should formatting be applied to cell values?
  @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero
  True - Return rows and columns indexed by their actual row and column IDs
  @return array
docstring_tokens: Create array from worksheet