Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
QueueConfigItem.php
Go to the documentation of this file.
1 <?php
7 
12 {
18  private $name;
19 
25  private $connection;
26 
32  private $arguments;
33 
39  private $isDurable;
40 
46  private $isAutoDelete;
47 
51  public function getName()
52  {
53  return $this->name;
54  }
55 
59  public function getConnection()
60  {
61  return $this->connection;
62  }
63 
67  public function getArguments()
68  {
69  return $this->arguments;
70  }
71 
75  public function isDurable()
76  {
77  return $this->isDurable;
78  }
79 
83  public function isAutoDelete()
84  {
85  return $this->isAutoDelete;
86  }
87 
94  public function setData(array $data)
95  {
96  $this->name = $data['name'];
97  $this->connection = $data['connection'];
98  $this->isDurable = $data['durable'];
99  $this->isAutoDelete = $data['autoDelete'];
100  $this->arguments = $data['arguments'];
101  }
102 }