getBorder()->setLineStyle(Border::LINE_SINGLE); $this->setOffsetX($fromX); $this->setOffsetY($fromY); $this->setWidth($toX - $fromX); $this->setHeight($toY - $fromY); } /** * Get hash code. * * @return string Hash code */ public function getHashCode(): string { return \md5($this->getBorder()->getLineStyle() . parent::getHashCode() . __CLASS__); } }