Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PublisherConnection.php
Go to the documentation of this file.
1 <?php
7 
12 {
18  private $name;
19 
25  private $exchange;
26 
32  private $isDisabled;
33 
37  public function getName()
38  {
39  return $this->name;
40  }
41 
45  public function getExchange()
46  {
47  return $this->exchange;
48  }
49 
53  public function isDisabled()
54  {
55  return $this->isDisabled;
56  }
57 
61  public function setData(array $data)
62  {
63  $this->name = $data['name'];
64  $this->exchange = $data['exchange'];
65  $this->isDisabled = $data['disabled'];
66  }
67 }