PatchVersionInterface.php 798 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Setup\Patch;
  7. /**
  8. * For backward compatibility with versioned style module installation. Deprecated since creation.
  9. *
  10. * @deprecated 102.0.0
  11. */
  12. interface PatchVersionInterface
  13. {
  14. /**
  15. * This version associate patch with Magento setup version.
  16. * For example, if Magento current setup version is 2.0.3 and patch version is 2.0.2 than
  17. * this patch will be added to registry, but will not be applied, because it is already applied
  18. * by old mechanism of UpgradeData.php script
  19. *
  20. *
  21. * @return string
  22. * @deprecated 102.0.0 since appearance, required for backward compatibility
  23. */
  24. public static function getVersion();
  25. }