Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Binding.php
Go to the documentation of this file.
1 <?php
7 
11 class Binding implements BindingInterface
12 {
18  private $id;
19 
25  private $destinationType;
26 
32  private $destination;
33 
38  private $isDisabled;
39 
45  private $topic;
46 
52  private $arguments;
53 
57  public function getId()
58  {
59  return $this->id;
60  }
61 
65  public function getDestinationType()
66  {
67  return $this->destinationType;
68  }
69 
73  public function getDestination()
74  {
75  return $this->destination;
76  }
77 
81  public function isDisabled()
82  {
83  return $this->isDisabled;
84  }
85 
89  public function getTopic()
90  {
91  return $this->topic;
92  }
93 
97  public function getArguments()
98  {
99  return $this->arguments;
100  }
101 
108  public function setData(array $data)
109  {
110  $this->id = $data['id'];
111  $this->destinationType = $data['destinationType'];
112  $this->destination = $data['destination'];
113  $this->arguments = $data['arguments'];
114  $this->topic = $data['topic'];
115  $this->isDisabled = $data['disabled'];
116  }
117 }