Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BicPatch.php
Go to the documentation of this file.
1 <?php
7 
12 
16 class BicPatch implements
20 {
24  private $resourceConnection;
25 
30  public function __construct(ResourceConnection $resourceConnection)
31  {
32  $this->resourceConnection = $resourceConnection;
33  }
34 
38  public function getVersion()
39  {
40  return '0.0.3';
41  }
42 
46  public function getAliases()
47  {
48  return [];
49  }
50 
54  public function apply()
55  {
56  throw new \Exception("This patch can`t be applied, as it was created to test BIC");
57  }
58 
59  public function revert()
60  {
61  }
62 
66  public static function getDependencies()
67  {
68  return [
69  RefBicPatch::class
70  ];
71  }
72 }
__construct(ResourceConnection $resourceConnection)
Definition: BicPatch.php:30