Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
schema_patch_classes.php
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile - as of namespace absence
8 
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 SomeSchemaPatch implements
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 }