public function addHistoryEvent(HistoryEvent $l) { $this->collHistoryEvents[] = $l; $l->setHistoryGroup($this); }