/** * Whether a column exists. * @param int|string $column * @return bool */ public function hasValue($column) : bool { return $this->schema->hasHeader($column) && isset($this->values[$this->schema->getHeader($column)->getIndex()]); }
public static final function excelSchema() : CSVSchema { return CSVSchema::create()->withDelimiter(',')->withEnclosure('"')->withEscape("\\")->withSeparator("\r\n"); }