Neos\Neos\Ui\Domain\Model\Feedback\Operations\ReloadDocument::isSimilarTo PHP Метод

isSimilarTo() публичный Метод

Checks whether this feedback is similar to another
public isSimilarTo ( Neos\Neos\Ui\Domain\Model\FeedbackInterface $feedback ) : boolean
$feedback Neos\Neos\Ui\Domain\Model\FeedbackInterface
Результат boolean
    public function isSimilarTo(FeedbackInterface $feedback)
    {
        if (!$feedback instanceof ReloadDocument) {
            return false;
        }
        return $this->getDocument()->getContextPath() === $feedback->getDocument()->getContextPath();
    }