You are here

public function PHPExcel_Style_Border::getHashCode in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Border.php \PHPExcel_Style_Border::getHashCode()

* Get hash code * *

Return value

string Hash code

Overrides PHPExcel_IComparable::getHashCode

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Border.php, line 283

Class

PHPExcel_Style_Border
PHPExcel_Style_Border

Code

public function getHashCode() {
  if ($this->_isSupervisor) {
    return $this
      ->getSharedComponent()
      ->getHashCode();
  }
  return md5($this->_borderStyle . $this->_color
    ->getHashCode() . __CLASS__);
}