Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Lock.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  public function getId()
17  {
18  return $this->getData('id');
19  }
20 
24  public function setId($value)
25  {
26  $this->setData('id', $value);
27  }
28 
32  public function getMessageCode()
33  {
34  return $this->getData('message_code');
35  }
36 
40  public function setMessageCode($value)
41  {
42  $this->setData('message_code', $value);
43  }
44 
48  public function getCreatedAt()
49  {
50  return $this->getData('created_at');
51  }
52 
56  public function setCreatedAt($value)
57  {
58  $this->setData('created_at', $value);
59  }
60 }
getData($key='', $index=null)
Definition: DataObject.php:119
$value
Definition: gender.phtml:16
setData($key, $value=null)
Definition: DataObject.php:72