Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Queue.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\MysqlMq\Model;
7 
15 {
16  const KEY_NAME = 'name';
17 
21  protected function _construct()
22  {
23  $this->_init(\Magento\MysqlMq\Model\ResourceModel\Queue::class);
24  }
25 
32  public function setName($name)
33  {
34  $this->setData(self::KEY_NAME, $name);
35  return $this;
36  }
37 
43  public function getName()
44  {
45  return $this->getData(self::KEY_NAME);
46  }
47 }
getData($key='', $index=null)
Definition: DataObject.php:119
if(!isset($_GET['name'])) $name
Definition: log.php:14