/** * CmsInstaller constructor. * @param ObjectManagerInterface $objectManager * @param Registry $registry * @param LoggerInterface $logger * @param ScopeConfigInterface $config * @param WriterInterface $configWriter * @param StoreManagerInterface $storeManager * @param PageFactory $pageFactory * @param BlockFactory $blockFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) */ public function __construct(ObjectManagerInterface $objectManager, Registry $registry, LoggerInterface $logger, ScopeConfigInterface $config, WriterInterface $configWriter, StoreManagerInterface $storeManager, PageFactory $pageFactory, BlockFactory $blockFactory) { $this->storeManager = $storeManager; $this->pageFactory = $pageFactory; $this->blockFactory = $blockFactory; parent::__construct($objectManager, $registry, $logger, $config, $configWriter); }
public function __construct(ObjectManagerInterface $objectManager, Registry $registry, LoggerInterface $logger, ScopeConfigInterface $config, WriterInterface $configWriter, SetFactory $attributeSetFactory, GroupFactory $attributeGroupFactory, AttributeFactory $attributeFactory) { // Eav Installer $this->attributeSetFactory = $attributeSetFactory; $this->attributeGroupFactory = $attributeGroupFactory; $this->attributeFactory = $attributeFactory; // Abstract Installer parent::__construct($objectManager, $registry, $logger, $config, $configWriter); }
/** * @param ModuleDataSetupInterface $setup * @return $this */ public function setModuleDataSetup(ModuleDataSetupInterface $setup) { parent::setModuleDataSetup($setup); $this->getCatalogInstaller()->setModuleDataSetup($setup); $this->getCustomerInstaller()->setModuleDataSetup($setup); $this->getStoreInstaller()->setModuleDataSetup($setup); $this->getSalesInstaller()->setModuleDataSetup($setup); return $this; }
public function __construct(ObjectManagerInterface $objectManager, Registry $registry, LoggerInterface $logger, ScopeConfigInterface $config, WriterInterface $configWriter) { parent::__construct($objectManager, $registry, $logger, $config, $configWriter); }
/** * StoreInstaller constructor. * @param ObjectManagerInterface $objectManager * @param Registry $registry * @param LoggerInterface $logger * @param ScopeConfigInterface $config * @param WriterInterface $configWriter * @param StoreManagerInterface $storeManager * @param StoreFactory $storeFactory * @param GroupFactory $groupFactory * @param WebsiteFactory $websiteFactory * @param CategoryFactory $categoryFactory * @param ThemeFactory $themeFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) */ public function __construct(ObjectManagerInterface $objectManager, Registry $registry, LoggerInterface $logger, ScopeConfigInterface $config, WriterInterface $configWriter, StoreManagerInterface $storeManager, StoreFactory $storeFactory, GroupFactory $groupFactory, WebsiteFactory $websiteFactory, CategoryFactory $categoryFactory, ThemeFactory $themeFactory) { $this->storeManager = $storeManager; $this->storeFactory = $storeFactory; $this->groupFactory = $groupFactory; $this->websiteFactory = $websiteFactory; $this->categoryFactory = $categoryFactory; $this->themeFactory = $themeFactory; parent::__construct($objectManager, $registry, $logger, $config, $configWriter); }