Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Eav\Model\Config $eavConfig, \Magento\Eav\Model\ResourceModel\Entity\Attribute $eavResource, \Magento\Eav\Model\ResourceModel\Entity\Attribute\CollectionFactory $attributeCollectionFactory, \Magento\Eav\Api\Data\AttributeSearchResultsInterfaceFactory $searchResultsFactory, \Magento\Eav\Model\Entity\AttributeFactory $attributeFactory, \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface $joinProcessor, CollectionProcessorInterface $collectionProcessor=null) | |
save (\Magento\Eav\Api\Data\AttributeInterface $attribute) | |
delete (\Magento\Eav\Api\Data\AttributeInterface $attribute) | |
![]() | |
getList ($entityTypeCode, \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) | |
get ($entityTypeCode, $attributeCode) | |
save (\Magento\Eav\Api\Data\AttributeInterface $attribute) | |
delete (Data\AttributeInterface $attribute) | |
deleteById ($attributeId) | |
Protected Attributes | |
$eavConfig | |
$eavResource | |
$attributeCollectionFactory | |
$searchResultsFactory | |
$attributeFactory | |
$joinProcessor | |
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 18 of file AttributeRepository.php.
__construct | ( | \Magento\Eav\Model\Config | $eavConfig, |
\Magento\Eav\Model\ResourceModel\Entity\Attribute | $eavResource, | ||
\Magento\Eav\Model\ResourceModel\Entity\Attribute\CollectionFactory | $attributeCollectionFactory, | ||
\Magento\Eav\Api\Data\AttributeSearchResultsInterfaceFactory | $searchResultsFactory, | ||
\Magento\Eav\Model\Entity\AttributeFactory | $attributeFactory, | ||
\Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface | $joinProcessor, | ||
CollectionProcessorInterface | $collectionProcessor = null |
||
) |
Config | $eavConfig | |
\Magento\Eav\Model\ResourceModel\Entity\Attribute | $eavResource | |
\Magento\Eav\Model\ResourceModel\Entity\Attribute\CollectionFactory | $attributeCollectionFactory | |
\Magento\Eav\Api\Data\AttributeSearchResultsInterfaceFactory | $searchResultsFactory | |
Entity\AttributeFactory | $attributeFactory | |
\Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface | $joinProcessor | |
CollectionProcessorInterface | $collectionProcessor | @codeCoverageIgnore |
Definition at line 65 of file AttributeRepository.php.
delete | ( | \Magento\Eav\Api\Data\AttributeInterface | $attribute | ) |
save | ( | \Magento\Eav\Api\Data\AttributeInterface | $attribute | ) |
|
protected |
Definition at line 33 of file AttributeRepository.php.
|
protected |
Definition at line 43 of file AttributeRepository.php.
|
protected |
Definition at line 23 of file AttributeRepository.php.
|
protected |
Definition at line 28 of file AttributeRepository.php.
|
protected |
Definition at line 48 of file AttributeRepository.php.
|
protected |
Definition at line 38 of file AttributeRepository.php.