|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (AttributeRepositoryInterface $attributeRepository, MetadataPool $metadataPool, SearchCriteriaBuilder $searchCriteriaBuilder) | |
| entityToDatabase ($entityType, $data) | |
| databaseToEntity ($entityType, $data) | |
Class CustomAttributesMapper
Definition at line 18 of file CustomAttributesMapper.php.
| __construct | ( | AttributeRepositoryInterface | $attributeRepository, |
| MetadataPool | $metadataPool, | ||
| SearchCriteriaBuilder | $searchCriteriaBuilder | ||
| ) |
| AttributeRepositoryInterface | $attributeRepository | |
| MetadataPool | $metadataPool | |
| SearchCriteriaBuilder | $searchCriteriaBuilder |
Definition at line 45 of file CustomAttributesMapper.php.
| databaseToEntity | ( | $entityType, | |
| $data | |||
| ) |
{Map database field name to entity field name
| string | $entityType | |
| array | $data |
Implements MapperInterface.
Definition at line 81 of file CustomAttributesMapper.php.
| entityToDatabase | ( | $entityType, | |
| $data | |||
| ) |
{Map entity field name to database field name
| string | $entityType | |
| array | $data |
Implements MapperInterface.
Definition at line 58 of file CustomAttributesMapper.php.