public function addSubjectAccal(SubjectAccal $l) { $this->collSubjectAccals[] = $l; $l->setAcademicCalendar($this); }