Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Comparator.php
Go to the documentation of this file.
1 <?php
8 
11 
17 {
25  public function compare(ElementInterface $first, ElementInterface $second)
26  {
27  return get_class($first) === get_class($second) &&
28  $first->getDiffSensitiveParams() === $second->getDiffSensitiveParams();
29  }
30 }
compare(ElementInterface $first, ElementInterface $second)
Definition: Comparator.php:25