SimpleExcel\Parser\BaseParser::getField PHP Method

getField() public method

Get data of all cells as an array
public getField ( boolean $val_only = TRUE ) : array
$val_only boolean
return array
    public function getField($val_only = TRUE)
    {
        if (!$this->isFieldExists()) {
            throw new \Exception('Field is not set', SimpleExcelException::FIELD_NOT_FOUND);
        }
        // return the array
        return $this->table_arr;
    }