示例#1
0
文件: Alert.php 项目: profcab/ilios
 /**
  * @param SchoolInterface $recipient
  */
 public function addRecipient(SchoolInterface $recipient)
 {
     $this->recipients->add($recipient);
 }
示例#2
0
 /**
  * @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);
 }