/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/MessageQueue/ConsumerInterface.php
26 строк
742 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2018 Adobe * All Rights Reserved. */ namespace Magento\Framework\MessageQueue; /** * Consumers will connect to a queue, read messages, and invoke a method to process the message contents. * * @api * @since 103.0.0 * @since 100.0.2 */ interface ConsumerInterface { /** * Connects to a queue, consumes a message on the queue, and invoke a method to process the message contents. * * @param int|null $maxNumberOfMessages if not specified - process all queued incoming messages and terminate, * otherwise terminate execution after processing the specified number of messages * @return void * @since 103.0.0 */ public function process($maxNumberOfMessages = null); }