/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Api/AttributeValue.php
57 строк
1018 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\Api; /** * Custom Attribute Data object */ class AttributeValue extends AbstractSimpleObject implements AttributeInterface { /** * Get attribute code * * @return string */ public function getAttributeCode() { return $this->_get(self::ATTRIBUTE_CODE); } /** * Get attribute value * * @return mixed */ public function getValue() { return $this->_get(self::VALUE); } /** * Set attribute code * * @param string $attributeCode * @return $this */ public function setAttributeCode($attributeCode) { $this->_data[self::ATTRIBUTE_CODE] = $attributeCode; return $this; } /** * Set attribute value * * @param mixed $value * @return $this */ public function setValue($value) { $this->_data[self::VALUE] = $value; return $this; } }