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
Event
Config.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Event
;
9
10
use
Magento\Framework\Event\Config\Data
;
11
12
class
Config
implements
ConfigInterface
13
{
19
protected
$_dataContainer
;
20
24
public
function
__construct
(
Data
$dataContainer)
25
{
26
$this->_dataContainer = $dataContainer;
27
}
28
35
public
function
getObservers
($eventName)
36
{
37
return
$this->_dataContainer->get($eventName, []);
38
}
39
}
Magento\Framework\Event
Definition:
Collection.php:12
Magento\Framework\Event\ConfigInterface
Definition:
ConfigInterface.php:14
Magento\Framework\Event\Config\__construct
__construct(Data $dataContainer)
Definition:
Config.php:24
Magento\Framework\Event\Config\$_dataContainer
$_dataContainer
Definition:
Config.php:19
Magento\Framework\Event\Config
Definition:
Config.php:12
Magento\Framework\Event\Config\getObservers
getObservers($eventName)
Definition:
Config.php:35
Magento\Framework\Event\Config\Data
Definition:
Data.php:13