/** * @param ChildEngagement $engagement The ChildEngagement object to add. */ protected function doAddEngagement(ChildEngagement $engagement) { $this->collEngagements[] = $engagement; $engagement->setSchoolYear($this); }