Example #1
0
 /**
  * Document constructor.
  * @param AttributeValueFactory $attributeValueFactory
  * @param GroupRepositoryInterface $groupRepository
  * @param CustomerMetadataInterface $customerMetadata
  * @param StoreManagerInterface $storeManager
  */
 public function __construct(AttributeValueFactory $attributeValueFactory, GroupRepositoryInterface $groupRepository, CustomerMetadataInterface $customerMetadata, StoreManagerInterface $storeManager)
 {
     parent::__construct($attributeValueFactory);
     $this->customerMetadata = $customerMetadata;
     $this->groupRepository = $groupRepository;
     $this->storeManager = $storeManager;
 }
Example #2
0
 /**
  * Document constructor.
  * @param AttributeValueFactory $attributeValueFactory
  * @param GroupRepositoryInterface $groupRepository
  */
 public function __construct(AttributeValueFactory $attributeValueFactory, GroupRepositoryInterface $groupRepository)
 {
     parent::__construct($attributeValueFactory);
     $this->groupRepository = $groupRepository;
 }