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