Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SomeSkippedPatch.php
Go to the documentation of this file.
1 <?php
7 
12 
17 class SomeSkippedPatch implements
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 }