|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Eav\Api\AttributeSetRepositoryInterface $setRepository, \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection $attributeCollection, \Magento\Eav\Model\Config $eavConfig, \Magento\Eav\Model\ConfigFactory $entityTypeFactory, \Magento\Eav\Api\AttributeGroupRepositoryInterface $groupRepository, \Magento\Eav\Api\AttributeRepositoryInterface $attributeRepository, \Magento\Eav\Model\ResourceModel\Entity\Attribute $attributeResource, \Magento\Eav\Model\ResourceModel\Entity\Attribute\CollectionFactory $attributeCollectionFactory=null) | |
Public Member Functions inherited from AttributeManagementInterface | |
| assign ($entityTypeCode, $attributeSetId, $attributeGroupId, $attributeCode, $sortOrder) | |
| unassign ($attributeSetId, $attributeCode) | |
| getAttributes ($entityTypeCode, $attributeSetId) | |
Protected Attributes | |
| $setRepository | |
| $attributeCollection | |
| $eavConfig | |
| $entityTypeFactory | |
| $groupRepository | |
| $attributeRepository | |
| $attributeResource | |
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 17 of file AttributeManagement.php.
| __construct | ( | \Magento\Eav\Api\AttributeSetRepositoryInterface | $setRepository, |
| \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection | $attributeCollection, | ||
| \Magento\Eav\Model\Config | $eavConfig, | ||
| \Magento\Eav\Model\ConfigFactory | $entityTypeFactory, | ||
| \Magento\Eav\Api\AttributeGroupRepositoryInterface | $groupRepository, | ||
| \Magento\Eav\Api\AttributeRepositoryInterface | $attributeRepository, | ||
| \Magento\Eav\Model\ResourceModel\Entity\Attribute | $attributeResource, | ||
| \Magento\Eav\Model\ResourceModel\Entity\Attribute\CollectionFactory | $attributeCollectionFactory = null |
||
| ) |
Constructor
| \Magento\Eav\Api\AttributeSetRepositoryInterface | $setRepository | |
| \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection | $attributeCollection | |
| Config | $eavConfig | |
| ConfigFactory | $entityTypeFactory | |
| \Magento\Eav\Api\AttributeGroupRepositoryInterface | $groupRepository | |
| \Magento\Eav\Api\AttributeRepositoryInterface | $attributeRepository | |
| \Magento\Eav\Model\ResourceModel\Entity\Attribute | $attributeResource | |
| \Magento\Eav\Model\ResourceModel\Entity\Attribute\CollectionFactory | null | $attributeCollectionFactory |
Definition at line 73 of file AttributeManagement.php.
|
protected |
Definition at line 29 of file AttributeManagement.php.
|
protected |
Definition at line 49 of file AttributeManagement.php.
|
protected |
Definition at line 54 of file AttributeManagement.php.
|
protected |
Definition at line 34 of file AttributeManagement.php.
|
protected |
Definition at line 39 of file AttributeManagement.php.
|
protected |
Definition at line 44 of file AttributeManagement.php.
|
protected |
Definition at line 22 of file AttributeManagement.php.