| Current Path : /home/rtorresani/www/vendor/magento/framework/Setup/Test/Unit/_files/ |
| Current File : //home/rtorresani/www/vendor/magento/framework/Setup/Test/Unit/_files/schema_patch_classes.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
// @codingStandardsIgnoreFile - as of namespace absence
class OtherSchemaPatch implements \Magento\Framework\Setup\Patch\SchemaPatchInterface
{
/**
* {@inheritdoc}
*/
public static function getDependencies()
{
return [];
}
/**
* {@inheritdoc}
*/
public function getAliases()
{
return [];
}
/**
* {@inheritdoc}
*/
public function apply()
{
}
}
class SomeSchemaPatch implements
\Magento\Framework\Setup\Patch\SchemaPatchInterface,
\Magento\Framework\Setup\Patch\PatchVersionInterface
{
/**
* {@inheritdoc}
*/
public static function getDependencies()
{
return [
OtherDataPatch::class,
];
}
/**
* {@inheritdoc}
*/
public function getAliases()
{
return [];
}
/**
* {@inheritdoc}
*/
public function apply()
{
return $this;
}
/**
* {@inheritdoc}
*/
public static function getVersion()
{
return '2.0.0';
}
}