Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework-message-queue
Topology
Config
ExchangeConfigItem.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\MessageQueue\Topology\Config
;
7
8
use
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\BindingInterface
;
9
use
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\Binding\IteratorFactory
;
10
14
class
ExchangeConfigItem
implements
ExchangeConfigItemInterface
15
{
21
private
$name;
22
28
private
$type;
29
35
private
$connection;
36
42
private
$bindings;
43
49
private
$arguments;
50
56
private
$isDurable;
57
63
private
$isAutoDelete;
64
70
private
$isInternal;
71
77
public
function
__construct
(
IteratorFactory
$iteratorFactory)
78
{
79
$this->bindings = $iteratorFactory->
create
();
80
}
81
85
public
function
getName
()
86
{
87
return
$this->name;
88
}
89
93
public
function
getType
()
94
{
95
return
$this->type;
96
}
97
101
public
function
getConnection
()
102
{
103
return
$this->connection;
104
}
105
109
public
function
isDurable
()
110
{
111
return
$this->isDurable;
112
}
113
117
public
function
isAutoDelete
()
118
{
119
return
$this->isAutoDelete;
120
}
121
125
public
function
isInternal
()
126
{
127
return
$this->isInternal;
128
}
129
133
public
function
getBindings
()
134
{
135
return
$this->bindings;
136
}
137
141
public
function
getArguments
()
142
{
143
return
$this->arguments;
144
}
145
152
public
function
setData
(array
$data
)
153
{
154
$this->
name
=
$data
[
'name'
];
155
$this->type =
$data
[
'type'
];
156
$this->connection =
$data
[
'connection'
];
157
$this->
isInternal
= $data[
'internal'
];
158
$this->
isDurable
= $data[
'durable'
];
159
$this->
isAutoDelete
= $data[
'autoDelete'
];
160
$this->arguments =
$data
[
'arguments'
];
161
$this->bindings->setData(
$data
[
'bindings'
]);
162
}
163
}
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\isAutoDelete
isAutoDelete()
Definition:
ExchangeConfigItem.php:117
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\isDurable
isDurable()
Definition:
ExchangeConfigItem.php:109
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\getType
getType()
Definition:
ExchangeConfigItem.php:93
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItemInterface
Definition:
ExchangeConfigItemInterface.php:13
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\Binding\IteratorFactory\create
create(array $data=[])
Definition:
IteratorFactory.php:47
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\getArguments
getArguments()
Definition:
ExchangeConfigItem.php:141
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\getConnection
getConnection()
Definition:
ExchangeConfigItem.php:101
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\isInternal
isInternal()
Definition:
ExchangeConfigItem.php:125
name
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\getName
getName()
Definition:
ExchangeConfigItem.php:85
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\getBindings
getBindings()
Definition:
ExchangeConfigItem.php:133
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\BindingInterface
Definition:
BindingInterface.php:11
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\setData
setData(array $data)
Definition:
ExchangeConfigItem.php:152
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\__construct
__construct(IteratorFactory $iteratorFactory)
Definition:
ExchangeConfigItem.php:77
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\Binding\IteratorFactory
Definition:
IteratorFactory.php:11
Magento\Framework\MessageQueue\Topology\Config
Definition:
CompositeReader.php:6
Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem
Definition:
ExchangeConfigItem.php:14