Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AttributeValueFactory.php
Go to the documentation of this file.
1 <?php
8 namespace Magento\Framework\Api;
9 
11 
13 {
17  const CLASS_NAME = \Magento\Framework\Api\AttributeValue::class;
18 
24  protected $_objectManager = null;
25 
32  {
33  $this->_objectManager = $objectManager;
34  }
35 
41  public function create()
42  {
43  return $this->_objectManager->create(self::CLASS_NAME, ['data' => []]);
44  }
45 }
$objectManager
Definition: bootstrap.php:17
__construct(ObjectManagerInterface $objectManager)