Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-elasticsearch
Model
Adapter
FieldMapper
Product
AttributeAdapter
DummyAttribute.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter
;
9
10
use
Magento\Framework\Api\CustomAttributesDataInterface
;
11
16
class
DummyAttribute
implements
CustomAttributesDataInterface
17
{
24
public
function
getCustomAttribute
($attributeCode)
25
{
26
return
null
;
27
}
28
36
public
function
setCustomAttribute
($attributeCode, $attributeValue)
37
{
38
return
$this;
39
}
40
46
public
function
getCustomAttributes
()
47
{
48
return
null
;
49
}
50
58
public
function
setCustomAttributes
(array
$attributes
)
59
{
60
return
$this;
61
}
62
}
Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter\DummyAttribute\setCustomAttribute
setCustomAttribute($attributeCode, $attributeValue)
Definition:
DummyAttribute.php:36
Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter\DummyAttribute\getCustomAttributes
getCustomAttributes()
Definition:
DummyAttribute.php:46
Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter\DummyAttribute
Definition:
DummyAttribute.php:16
Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter\DummyAttribute\getCustomAttribute
getCustomAttribute($attributeCode)
Definition:
DummyAttribute.php:24
Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter
Definition:
DummyAttribute.php:8
$attributes
$attributes
Definition:
matrix.phtml:13
Magento\Framework\Api\CustomAttributesDataInterface
Definition:
CustomAttributesDataInterface.php:15
Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter\DummyAttribute\setCustomAttributes
setCustomAttributes(array $attributes)
Definition:
DummyAttribute.php:58