public function getId() { // sheet index is zero-based, while ID is 1-based return $this->externalSheet->getIndex() + 1; }