/** * Get hash code * * @return string Hash code */ public function getHashCode() { return md5(($this->_visible ? 't' : 'f') . $this->_blurRadius . $this->_distance . $this->_direction . $this->_alignment . $this->_color->getHashCode() . $this->_alpha . __CLASS__); }
/** * Get hash code * * @return string Hash code */ public function getHashCode() { return md5($this->_name . $this->_size . ($this->_bold ? 't' : 'f') . ($this->_italic ? 't' : 'f') . ($this->_superScript ? 't' : 'f') . ($this->_subScript ? 't' : 'f') . $this->_underline . ($this->_strikethrough ? 't' : 'f') . $this->_color->getHashCode() . __CLASS__); }
/** * Get hash code * * @return string Hash code */ public function getHashCode() { return md5($this->_lineStyle . $this->_lineWidth . $this->_dashStyle . $this->_color->getHashCode() . __CLASS__); }