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
module-mysql-mq
Model
Observer.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\MysqlMq\Model
;
7
11
class
Observer
12
{
16
protected
$queueManagement
;
17
22
public
function
__construct
(
23
\
Magento
\MysqlMq\Model\
QueueManagement
$queueManagement
24
) {
25
$this->queueManagement =
$queueManagement
;
26
}
27
32
public
function
cleanupMessages
()
33
{
34
$this->queueManagement->markMessagesForDelete();
35
}
36
}
Magento\MysqlMq\Model\QueueManagement
Definition:
QueueManagement.php:14
Magento\MysqlMq\Model\Observer\$queueManagement
$queueManagement
Definition:
Observer.php:16
Magento\MysqlMq\Model\Observer\__construct
__construct(\Magento\MysqlMq\Model\QueueManagement $queueManagement)
Definition:
Observer.php:22
Magento\MysqlMq\Model\Observer
Definition:
Observer.php:11
Magento
Magento\MysqlMq\Model\Observer\cleanupMessages
cleanupMessages()
Definition:
Observer.php:32
Magento\MysqlMq\Model
Definition:
DataObject.php:6