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