ModuleContextInterface.php 406 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Setup;
  7. /**
  8. * Context of a module being installed/updated: version, user data, etc.
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface ModuleContextInterface
  13. {
  14. /**
  15. * Gets current version of the module
  16. *
  17. * @return string
  18. */
  19. public function getVersion();
  20. }