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
DefaultValueProvider.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\MessageQueue
;
7
11
class
DefaultValueProvider
12
{
18
private
$connection;
19
25
private
$exchange;
26
33
public
function
__construct
($connection =
'amqp'
, $exchange =
'magento'
)
34
{
35
$this->connection = $connection;
36
$this->exchange = $exchange;
37
}
38
44
public
function
getConnection
()
45
{
46
return
$this->connection;
47
}
48
54
public
function
getExchange
()
55
{
56
return
$this->exchange;
57
}
58
}
Magento\Framework\MessageQueue\DefaultValueProvider
Definition:
DefaultValueProvider.php:11
Magento\Framework\MessageQueue\DefaultValueProvider\getConnection
getConnection()
Definition:
DefaultValueProvider.php:44
Magento\Framework\MessageQueue\DefaultValueProvider\getExchange
getExchange()
Definition:
DefaultValueProvider.php:54
Magento\Framework\MessageQueue
Definition:
BatchConsumer.php:6
Magento\Framework\MessageQueue\DefaultValueProvider\__construct
__construct($connection='amqp', $exchange='magento')
Definition:
DefaultValueProvider.php:33