示例#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;
 }