public function setSheetProperty($option, $value) { if (isset($this->sheetProperties[$option])) { $this->sheetProperties[$option] = $value; } else { $this->sheetProperties = array_add($this->sheetProperties, $option, $value); } return $this; }