public function getHashCode() { $hash = ''; foreach ($this->getSeries() as $series) { $hash .= $series->getHashCode(); } return $hash; }
/** * Get hash code * * @return string Hash code */ public function getHashCode() { return md5(parent::getHashCode() . __CLASS__); }