public function getHashCode() { $hashElements = ''; foreach ($this->rows as $row) { $hashElements .= $row->getHashCode(); } return md5($hashElements . __CLASS__); }