コード例 #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);
 }