Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ZFirstPatch.php
Go to the documentation of this file.
1 <?php
7 
13 
18 class ZFirstPatch implements
22 {
26  private $resourceConnection;
27 
32  public function __construct(ResourceConnection $resourceConnection)
33  {
34  $this->resourceConnection = $resourceConnection;
35  }
36 
40  public static function getVersion()
41  {
42  return '0.0.3';
43  }
44 
48  public function getAliases()
49  {
50  return [];
51  }
52 
53  public function revert()
54  {
55  }
56 
60  public function apply()
61  {
62  throw new Exception('This patch should be covered by old script!');
63  }
64 
68  public static function getDependencies()
69  {
70  return [];
71  }
72 }
__construct(ResourceConnection $resourceConnection)
Definition: ZFirstPatch.php:32