InstallSchema.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Mageplaza_Core extension
  4. * NOTICE OF LICENSE
  5. *
  6. * This source file is subject to the Mageplaza License
  7. * that is bundled with this package in the file LICENSE.txt.
  8. * It is also available through the world-wide-web at this URL:
  9. * https://www.mageplaza.com/LICENSE.txt
  10. *
  11. * @category Mageplaza
  12. * @package Mageplaza_Core
  13. * @copyright Copyright (c) 2016
  14. * @license https://www.mageplaza.com/LICENSE.txt Mageplaza License
  15. */
  16. namespace Mageplaza\Core\Setup;
  17. class InstallSchema implements \Magento\Framework\Setup\InstallSchemaInterface
  18. {
  19. /**
  20. * install tables
  21. *
  22. * @param \Magento\Framework\Setup\SchemaSetupInterface $setup
  23. * @param \Magento\Framework\Setup\ModuleContextInterface $context
  24. * @return void
  25. * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
  26. */
  27. public function install(\Magento\Framework\Setup\SchemaSetupInterface $setup, \Magento\Framework\Setup\ModuleContextInterface $context)
  28. {
  29. $installer = $setup;
  30. $installer->startSetup();
  31. $installer->endSetup();
  32. }
  33. }