/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Api/AttributeValueFactory.php
45 строк
934 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Factory class for \Magento\Framework\Authorization * * Copyright 2015 Adobe * All Rights Reserved. */ namespace Magento\Framework\Api; use Magento\Framework\ObjectManagerInterface; class AttributeValueFactory { /** * Entity class name */ const CLASS_NAME = \Magento\Framework\Api\AttributeValue::class; /** * Object Manager instance * * @var ObjectManagerInterface */ protected $_objectManager = null; /** * Factory constructor * * @param ObjectManagerInterface $objectManager */ public function __construct(ObjectManagerInterface $objectManager) { $this->_objectManager = $objectManager; } /** * Create class instance with specified parameters * * @return AttributeValue */ public function create() { return $this->_objectManager->create(self::CLASS_NAME, ['data' => []]); } }