You are here

public function PHPExcel_Style_Color::getHashCode in Loft Data Grids 7.2

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

* Get hash code * *

Return value

string Hash code

Overrides PHPExcel_IComparable::getHashCode

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Color.php, line 419

Class

PHPExcel_Style_Color
PHPExcel_Style_Color

Code

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