/** * Method called to associate a Collection object to this object * through the Collection foreign key attribute * * @param Collection $l Collection * @return void * @throws PropelException */ public function addCollection(Collection $l) { $this->collCollections[] = $l; $l->setVocabulary($this); }