Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function addAlert(AlertInterface $alert)
 {
     if (!$this->alerts->contains($alert)) {
         $this->alerts->add($alert);
         $alert->addChangeType($this);
     }
 }
Exemplo n.º 2
0
 /**
  * @param AlertInterface $alert
  */
 public function addAlert(AlertInterface $alert)
 {
     $this->alerts->add($alert);
 }
Exemplo n.º 3
0
 /**
  * @inheritdoc
  */
 public function addAlert(AlertInterface $alert)
 {
     if (!$this->alerts->contains($alert)) {
         $this->alerts->add($alert);
         $alert->addRecipient($this);
     }
 }
Exemplo n.º 4
0
 /**
  * @param AlertInterface $alert
  */
 public function addAlert(AlertInterface $alert)
 {
     if (!$this->alerts->contains($alert)) {
         $this->alerts->add($alert);
         $alert->addInstigator($this);
     }
 }