InstallSchemaInterface.php 524 B

123456789101112131415161718192021222324
  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. * Interface for DB schema installs of a module
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface InstallSchemaInterface
  14. {
  15. /**
  16. * Installs DB schema for a module
  17. *
  18. * @param SchemaSetupInterface $setup
  19. * @param ModuleContextInterface $context
  20. * @return void
  21. */
  22. public function install(SchemaSetupInterface $setup, ModuleContextInterface $context);
  23. }