예제 #1
0
 /**
  * @inheritdoc
  */
 public function addAlert(AlertInterface $alert)
 {
     if (!$this->alerts->contains($alert)) {
         $this->alerts->add($alert);
         $alert->addChangeType($this);
     }
 }
예제 #2
0
파일: School.php 프로젝트: profcab/ilios
 /**
  * @param AlertInterface $alert
  */
 public function addAlert(AlertInterface $alert)
 {
     $this->alerts->add($alert);
 }
예제 #3
0
파일: School.php 프로젝트: stopfstedt/ilios
 /**
  * @inheritdoc
  */
 public function addAlert(AlertInterface $alert)
 {
     if (!$this->alerts->contains($alert)) {
         $this->alerts->add($alert);
         $alert->addRecipient($this);
     }
 }
예제 #4
0
파일: User.php 프로젝트: stopfstedt/ilios
 /**
  * @param AlertInterface $alert
  */
 public function addAlert(AlertInterface $alert)
 {
     if (!$this->alerts->contains($alert)) {
         $this->alerts->add($alert);
         $alert->addInstigator($this);
     }
 }