/** * @inheritdoc */ public function removeAlert(AlertInterface $alert) { if ($this->alerts->contains($alert)) { $this->alerts->removeElement($alert); $alert->removeChangeType($this); } }
/** * @param AlertInterface $alert */ public function removeAlert(AlertInterface $alert) { $this->alerts->removeElement($alert); $alert->removeInstigator($this); }