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
framework
Api
AttributeValueFactory.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Api
;
9
10
use
Magento\Framework\ObjectManagerInterface
;
11
12
class
AttributeValueFactory
13
{
17
const
CLASS_NAME
= \Magento\Framework\Api\AttributeValue::class;
18
24
protected
$_objectManager
=
null
;
25
31
public
function
__construct
(
ObjectManagerInterface
$objectManager
)
32
{
33
$this->_objectManager =
$objectManager
;
34
}
35
41
public
function
create
()
42
{
43
return
$this->_objectManager->create(self::CLASS_NAME, [
'data'
=> []]);
44
}
45
}
Magento\Framework\Api
Definition:
AbstractExtensibleObject.php:6
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Api\AttributeValueFactory\__construct
__construct(ObjectManagerInterface $objectManager)
Definition:
AttributeValueFactory.php:31
Magento\Framework\Api\AttributeValueFactory\$_objectManager
$_objectManager
Definition:
AttributeValueFactory.php:24
Magento\Framework\Api\AttributeValueFactory\create
create()
Definition:
AttributeValueFactory.php:41
Magento\Framework\Api\AttributeValueFactory\CLASS_NAME
const CLASS_NAME
Definition:
AttributeValueFactory.php:17
Magento\Framework\Api\AttributeValueFactory
Definition:
AttributeValueFactory.php:12