public function addReferent(Referent $referent, $link = true) { $this->referenten[$referent->getID()] = $referent; if ($link) { $referent->setVortrag($this, false); } }