예제 #1
0
파일: Alert.php 프로젝트: profcab/ilios
 /**
  * @param SchoolInterface $recipient
  */
 public function addRecipient(SchoolInterface $recipient)
 {
     $this->recipients->add($recipient);
 }
예제 #2
0
파일: Alert.php 프로젝트: stopfstedt/ilios
 /**
  * @inheritdoc
  */
 public function removeRecipient(SchoolInterface $recipient)
 {
     $this->recipients->removeElement($recipient);
 }
예제 #3
0
파일: User.php 프로젝트: stopfstedt/ilios
 /**
  * @param SchoolInterface $school
  */
 public function removeAdministeredSchool(SchoolInterface $school)
 {
     $this->administeredSchools->removeElement($school);
     $school->removeAdministrator($this);
 }