public function addStudentNote(StudentNote $l) { $this->collStudentNotes[] = $l; $l->setCounseling($this); }