value; } /** * Set the range value. */ public function setRange(string $range): self { if (!empty($range)) { $this->value = $range; } return $this; } /** @return string[] */ public function getCellsInRange(): array { $range = $this->value; if (str_starts_with($range, '=')) { $range = substr($range, 1); } return Coordinate::extractAllCellReferencesInRange($range); } }