123456789101112131415161718192021222324252627282930313233 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Setup\Patch;
- /**
- * Each patch can have dependecies, that should be applied before such patch
- *
- * / Patch2 --- Patch3
- * /
- * /
- * Patch1
- *
- * Here you see dependency of Patch1 to Patch2
- */
- interface DependentPatchInterface
- {
- /**
- * Get array of patches that have to be executed prior to this.
- *
- * example of implementation:
- *
- * [
- * \Vendor_Name\Module_Name\Setup\Patch\Patch1::class,
- * \Vendor_Name\Module_Name\Setup\Patch\Patch2::class
- * ]
- *
- * @return string[]
- */
- public static function getDependencies();
- }
|