12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- /**
- * Copyright © 2018 Porto. All rights reserved.
- */
- namespace Smartwave\Porto\Setup;
- use Magento\Eav\Setup\EavSetup;
- use Magento\Eav\Setup\EavSetupFactory;
- use Magento\Framework\Setup\InstallDataInterface;
- use Magento\Framework\Setup\ModuleContextInterface;
- use Magento\Framework\Setup\ModuleDataSetupInterface;
- /**
- * @codeCoverageIgnore
- */
- class InstallData implements InstallDataInterface {
- /**
- * EAV setup factory
- *
- * @var EavSetupFactory
- */
- private $eavSetupFactory;
- /**
- * Init
- *
- * @param EavSetupFactory $eavSetupFactory
- */
- public function __construct(EavSetupFactory $eavSetupFactory) {
- $this->eavSetupFactory = $eavSetupFactory;
- }
- /**
- * {@inheritdoc}
- */
- public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) {
- $installer = $setup;
-
- $installer->startSetup();
- $installer->endSetup();
- }
- }
|