Beispiel #1
0
 /**
  * Init
  *
  * @param ModuleDataSetupInterface $setup
  * @param Context $context
  * @param CacheInterface $cache
  * @param CollectionFactory $attrGroupCollectionFactory
  * @param CategoryFactory $categoryFactory
  */
 public function __construct(
     ModuleDataSetupInterface $setup,
     Context $context,
     CacheInterface $cache,
     CollectionFactory $attrGroupCollectionFactory,
     CategoryFactory $categoryFactory
 ) {
     $this->categoryFactory = $categoryFactory;
     parent::__construct($setup, $context, $cache, $attrGroupCollectionFactory);
 }
 /**
  * @param ModuleDataSetupInterface $setup
  * @param Context $context
  * @param CacheInterface $cache
  * @param CollectionFactory $attrGroupCollectionFactory
  * @param ScopeConfigInterface $config
  */
 public function __construct(ModuleDataSetupInterface $setup, Context $context, CacheInterface $cache, CollectionFactory $attrGroupCollectionFactory, ScopeConfigInterface $config)
 {
     $this->config = $config;
     $this->encryptor = $context->getEncryptor();
     parent::__construct($setup, $context, $cache, $attrGroupCollectionFactory);
 }
 /**
  * Init
  *
  * @param ModuleDataSetupInterface $setup
  * @param Context $context
  * @param CacheInterface $cache
  * @param CollectionFactory $attrGroupCollectionFactory
  * @param Config $eavConfig
  */
 public function __construct(ModuleDataSetupInterface $setup, Context $context, CacheInterface $cache, CollectionFactory $attrGroupCollectionFactory, Config $eavConfig)
 {
     $this->eavConfig = $eavConfig;
     parent::__construct($setup, $context, $cache, $attrGroupCollectionFactory);
 }