/** * set the fetchmode for a path * * @param rdbms.join.Fetchmode fetchmode * @return rdbms.Criteria this object */ public function setFetchmode(Fetchmode $fetchmode) { $this->fetchmode[$fetchmode->getPath()] = $fetchmode->getMode(); return $this; }