예제 #1
0
 public function removeTemplateMessage($singular)
 {
     $id = Message::encodeMessageId($singular);
     unset($this->templateMessages[$id]);
     return $this;
 }
예제 #2
0
 public function removeMessage(\Message $message)
 {
     $this->messages->removeElement($message);
     unset($this->messageIds[\Helpers\Message::encodeMessageId($message->getId())]);
     return $this;
 }