Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AttributeValue.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Framework\Api;
8 
13 {
19  public function getAttributeCode()
20  {
21  return $this->_get(self::ATTRIBUTE_CODE);
22  }
23 
29  public function getValue()
30  {
31  return $this->_get(self::VALUE);
32  }
33 
41  {
42  $this->_data[self::ATTRIBUTE_CODE] = $attributeCode;
43  return $this;
44  }
45 
52  public function setValue($value)
53  {
54  $this->_data[self::VALUE] = $value;
55  return $this;
56  }
57 }
$value
Definition: gender.phtml:16
$attributeCode
Definition: extend.phtml:12