Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DummyAttribute.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
11 
17 {
24  public function getCustomAttribute($attributeCode)
25  {
26  return null;
27  }
28 
36  public function setCustomAttribute($attributeCode, $attributeValue)
37  {
38  return $this;
39  }
40 
46  public function getCustomAttributes()
47  {
48  return null;
49  }
50 
58  public function setCustomAttributes(array $attributes)
59  {
60  return $this;
61  }
62 }
$attributes
Definition: matrix.phtml:13