Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Exception.php
Go to the documentation of this file.
1 <?php
7 
15 {
21  protected $_attributeCode;
22 
29  protected $_part;
30 
38  public function setAttributeCode($attribute)
39  {
40  $this->_attributeCode = $attribute;
41  return $this;
42  }
43 
51  public function setPart($part)
52  {
53  $this->_part = $part;
54  return $this;
55  }
56 
63  public function getAttributeCode()
64  {
65  return $this->_attributeCode;
66  }
67 
74  public function getPart()
75  {
76  return $this->_part;
77  }
78 }