/** * Checks if two VOs are equals, based in the ID. * @param $vo the VO to compare. * @return <code>true</code> if they are equal, <code>false</code> otherwise. */ public function equals(VO $vo) { return $this->getId() == $vo->getId(); }