/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Api/AttributeMetadata.php
36 строк
732 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; /** * Base data object for custom attribute metadata */ class AttributeMetadata extends AbstractSimpleObject implements MetadataObjectInterface { const ATTRIBUTE_CODE = 'attribute_code'; /** * Retrieve code of the attribute. * * @return string|null */ public function getAttributeCode() { return $this->_get(self::ATTRIBUTE_CODE); } /** * Set code of the attribute. * * @param string $attributeCode * @return $this */ public function setAttributeCode($attributeCode) { return $this->setData(self::ATTRIBUTE_CODE, $attributeCode); } }