Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Setup/Patch/
Upload File :
Current File : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Setup/Patch/DependentPatchInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Magento\Framework\Setup\Patch;

/**
 * Each patch can have dependencies, 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();
}