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
magento2-base
dev
tests
setup-integration
_files
Magento
TestSetupDeclarationModule5
revisions
patches
SomeSkippedPatch.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\TestSetupDeclarationModule5\Setup\Patch\Data
;
7
8
use
Magento\Framework\App\ResourceConnection
;
9
use
Magento\Framework\Setup\Patch\DataPatchInterface
;
10
use
Magento\Framework\Setup\Patch\PatchRevertableInterface
;
11
use
Magento\Framework\Setup\Patch\PatchVersionInterface
;
12
17
class
SomeSkippedPatch
implements
18
DataPatchInterface
,
19
PatchRevertableInterface
,
20
PatchVersionInterface
21
{
25
private
$resourceConnection;
26
31
public
function
__construct
(
ResourceConnection
$resourceConnection)
32
{
33
$this->resourceConnection =
$resourceConnection
;
34
}
35
39
public
static
function
getVersion
()
40
{
41
return
'1.0.2'
;
42
}
43
47
public
function
getAliases
()
48
{
49
return
[];
50
}
51
55
public
function
apply
()
56
{
57
throw
new \Exception(
'This patch should be skipped!'
);
58
}
59
60
public
function
revert
()
61
{
62
}
63
67
public
static
function
getDependencies
()
68
{
69
return
[];
70
}
71
}
Magento\Framework\Setup\Patch\PatchRevertableInterface
Definition:
PatchRevertableInterface.php:17
Magento\Framework\Setup\Patch\DataPatchInterface
Definition:
DataPatchInterface.php:12
Magento\TestSetupDeclarationModule5\Setup\Patch\Data\SomeSkippedPatch\__construct
__construct(ResourceConnection $resourceConnection)
Definition:
SomeSkippedPatch.php:31
Magento\TestSetupDeclarationModule5\Setup\Patch\Data\SomeSkippedPatch\getDependencies
static getDependencies()
Definition:
SomeSkippedPatch.php:67
Magento\Framework\Setup\Patch\PatchVersionInterface
Definition:
PatchVersionInterface.php:13
Magento\TestSetupDeclarationModule5\Setup\Patch\Data\SomeSkippedPatch\getVersion
static getVersion()
Definition:
SomeSkippedPatch.php:39
Magento\TestSetupDeclarationModule5\Setup\Patch\Data
Definition:
SomePatch.php:6
Magento\TestSetupDeclarationModule5\Setup\Patch\Data\SomeSkippedPatch
Definition:
SomeSkippedPatch.php:17
$resourceConnection
$resourceConnection
Definition:
website_attribute_sync.php:32
Magento\Framework\App\ResourceConnection
Definition:
ResourceConnection.php:18
Magento\TestSetupDeclarationModule5\Setup\Patch\Data\SomeSkippedPatch\revert
revert()
Definition:
SomeSkippedPatch.php:60
Magento\TestSetupDeclarationModule5\Setup\Patch\Data\SomeSkippedPatch\apply
apply()
Definition:
SomeSkippedPatch.php:55
Magento\Framework\App\ResourceConnection
Magento\TestSetupDeclarationModule5\Setup\Patch\Data\SomeSkippedPatch\getAliases
getAliases()
Definition:
SomeSkippedPatch.php:47