示例#1
0
 /**
  * Checks whether this feedback is similar to another
  *
  * @param FeedbackInterface $feedback
  * @return boolean
  */
 public function isSimilarTo(FeedbackInterface $feedback)
 {
     if (!$feedback instanceof AbstractMessageFeedback) {
         return false;
     }
     return $this->getSeverity() === $feedback->getSeverity() && $this->getMessage() === $feedback->getMessage();
 }