code: public function getHyperlink()
      {
          if (!isset($this->parent)) {
              throw new Exception('Cannot get hyperlink for cell that is not bound to a worksheet');
          }
  
          return $this->getWorksheet()->getHyperlink($this->getCoordinate());
      }
docs: Get Hyperlink.
  
  @throws Exception
  
  @return Hyperlink