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-amqp
ConfigPool.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Amqp
;
7
11
class
ConfigPool
12
{
16
private
$configFactory;
17
21
private
$pool = [];
22
28
public
function
__construct
(
ConfigFactory
$configFactory)
29
{
30
$this->configFactory =
$configFactory
;
31
}
32
39
public
function
get
($connectionName)
40
{
41
if
(!isset($this->pool[$connectionName])) {
42
$this->pool[$connectionName] = $this->configFactory->create([
'connectionName'
=> $connectionName]);
43
}
44
return
$this->pool[$connectionName];
45
}
46
}
Magento\Framework\Amqp\ConfigPool
Definition:
ConfigPool.php:11
Magento\Framework\Amqp
Magento\Framework\Amqp\ConfigPool\__construct
__construct(ConfigFactory $configFactory)
Definition:
ConfigPool.php:28
$configFactory
$configFactory
Definition:
config_data.php:43
Magento\Framework\Amqp\ConfigFactory
Definition:
ConfigFactory.php:11