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
Test
Unit
_files
data_patch_classes.php
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile - as of namespace absence
8
9
class
OtherDataPatch
implements
\Magento\Framework\Setup\Patch\DataPatchInterface
10
{
14
public
static
function
getDependencies
()
15
{
16
return
[];
17
}
18
22
public
function
getAliases
()
23
{
24
return
[];
25
}
26
30
public
function
apply
()
31
{
32
}
33
}
34
35
class
SomeDataPatch
implements
36
\Magento\Framework\Setup\Patch\DataPatchInterface
,
37
\Magento\Framework\Setup\Patch\PatchVersionInterface
38
{
42
public
static
function
getDependencies
()
43
{
44
return
[
45
OtherDataPatch::class,
46
];
47
}
48
52
public
function
getAliases
()
53
{
54
return
[];
55
}
56
60
public
function
apply
()
61
{
62
return
$this;
63
}
64
68
public
static
function
getVersion
()
69
{
70
return
'2.0.0'
;
71
}
72
}
73
74
class
NonTransactionableDataPatch
implements
75
\Magento\Framework\Setup\Patch\DataPatchInterface
,
76
\Magento\Framework\Setup\Patch\NonTransactionableInterface
77
{
78
82
public
static
function
getDependencies
()
83
{
84
return
[];
85
}
86
90
public
function
getAliases
()
91
{
92
return
[];
93
}
94
98
public
function
apply
()
99
{
100
}
101
}
102
103
class
RevertableDataPatch
implements
104
\Magento\Framework\Setup\Patch\DataPatchInterface
,
105
\Magento\Framework\Setup\Patch\PatchRevertableInterface
106
{
110
public
static
function
getDependencies
()
111
{
112
return
[];
113
}
114
118
public
function
getAliases
()
119
{
120
return
[];
121
}
122
126
public
function
apply
()
127
{
128
}
129
133
public
function
revert
()
134
{
135
}
136
}
OtherDataPatch\getDependencies
static getDependencies()
Definition:
data_patch_classes.php:14
OtherDataPatch\getAliases
getAliases()
Definition:
data_patch_classes.php:22
RevertableDataPatch
Definition:
data_patch_classes.php:103
RevertableDataPatch\revert
revert()
Definition:
data_patch_classes.php:133
Magento\Framework\Setup\Patch\PatchRevertableInterface
Definition:
PatchRevertableInterface.php:17
Magento\Framework\Setup\Patch\DataPatchInterface
Definition:
DataPatchInterface.php:12
NonTransactionableDataPatch\apply
apply()
Definition:
data_patch_classes.php:98
RevertableDataPatch\getAliases
getAliases()
Definition:
data_patch_classes.php:118
NonTransactionableDataPatch
Definition:
data_patch_classes.php:74
Magento\Framework\Setup\Patch\NonTransactionableInterface
Definition:
NonTransactionableInterface.php:11
NonTransactionableDataPatch\getAliases
getAliases()
Definition:
data_patch_classes.php:90
RevertableDataPatch\apply
apply()
Definition:
data_patch_classes.php:126
SomeDataPatch
Definition:
data_patch_classes.php:35
SomeDataPatch\getDependencies
static getDependencies()
Definition:
data_patch_classes.php:42
Magento\Framework\Setup\Patch\PatchVersionInterface
Definition:
PatchVersionInterface.php:13
SomeDataPatch\apply
apply()
Definition:
data_patch_classes.php:60
SomeDataPatch\getAliases
getAliases()
Definition:
data_patch_classes.php:52
SomeDataPatch\getVersion
static getVersion()
Definition:
data_patch_classes.php:68
RevertableDataPatch\getDependencies
static getDependencies()
Definition:
data_patch_classes.php:110
NonTransactionableDataPatch\getDependencies
static getDependencies()
Definition:
data_patch_classes.php:82
OtherDataPatch
Definition:
data_patch_classes.php:9
OtherDataPatch\apply
apply()
Definition:
data_patch_classes.php:30