Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
Setup
Declaration
Schema
Comparator.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Setup\Declaration\Schema
;
8
9
use
Magento\Framework\Setup\Declaration\Schema\Dto\ElementDiffAwareInterface
;
10
use
Magento\Framework\Setup\Declaration\Schema\Dto\ElementInterface
;
11
16
class
Comparator
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
}
Magento\Framework\Setup\Declaration\Schema\Comparator\compare
compare(ElementInterface $first, ElementInterface $second)
Definition:
Comparator.php:25
Magento\Framework\Setup\Declaration\Schema\Comparator
Definition:
Comparator.php:16
Magento\Framework\Setup\Declaration\Schema\Dto\ElementDiffAwareInterface
Definition:
ElementDiffAwareInterface.php:13
Magento\Framework\Setup\Declaration\Schema\Dto\ElementInterface
Definition:
ElementInterface.php:15
Magento\Framework\Setup\Declaration\Schema
Definition:
Comparator.php:7