/** * @param SchoolInterface $recipient */ public function addRecipient(SchoolInterface $recipient) { $this->recipients->add($recipient); }
/** * @inheritdoc */ public function removeRecipient(SchoolInterface $recipient) { $this->recipients->removeElement($recipient); }
/** * @param SchoolInterface $school */ public function removeAdministeredSchool(SchoolInterface $school) { $this->administeredSchools->removeElement($school); $school->removeAdministrator($this); }