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
ElementHistory.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\ElementInterface
;
10
16
class
ElementHistory
17
{
21
private
$new;
22
26
private
$old;
27
34
public
function
__construct
(
ElementInterface
$new,
ElementInterface
$old =
null
)
35
{
36
$this->
new
= $new;
37
$this->old = $old;
38
}
39
45
public
function
getOld
()
46
{
47
return
$this->old;
48
}
49
55
public
function
getNew
()
56
{
57
return
$this->new;
58
}
59
}
Magento\Framework\Setup\Declaration\Schema\ElementHistory\getNew
getNew()
Definition:
ElementHistory.php:55
Magento\Framework\Setup\Declaration\Schema\ElementHistory\__construct
__construct(ElementInterface $new, ElementInterface $old=null)
Definition:
ElementHistory.php:34
Magento\Framework\Setup\Declaration\Schema\ElementHistory
Definition:
ElementHistory.php:16
Magento\Framework\Setup\Declaration\Schema\Dto\ElementInterface
Definition:
ElementInterface.php:15
Magento\Framework\Setup\Declaration\Schema
Definition:
Comparator.php:7
Magento\Framework\Setup\Declaration\Schema\ElementHistory\getOld
getOld()
Definition:
ElementHistory.php:45