/** * @param Term $term The term object to add. */ protected function doAddTerm($term) { $this->collTerms[] = $term; $term->setCampus($this); }