InstallSchema.php 704 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\TestSetupDeclarationModule1\Setup;
  7. use Magento\Framework\Setup\InstallSchemaInterface;
  8. use Magento\Framework\Setup\ModuleContextInterface;
  9. use Magento\Framework\Setup\SchemaSetupInterface;
  10. /**
  11. * InstallSchema mock class
  12. */
  13. class InstallSchema implements InstallSchemaInterface
  14. {
  15. /**
  16. * {@inheritdoc}
  17. *
  18. * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
  19. */
  20. public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
  21. {
  22. $installer = $setup;
  23. $installer->startSetup();
  24. $installer->endSetup();
  25. }
  26. }