Sindbad~EG File Manager

Current Path : /opt/nginxhttpd_/vendor/symfony/messenger/Transport/Receiver/
Upload File :
Current File : //opt/nginxhttpd_/vendor/symfony/messenger/Transport/Receiver/QueueReceiverInterface.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Messenger\Transport\Receiver;

use Symfony\Component\Messenger\Envelope;

/**
 * Some transports may have multiple queues. This interface is used to read from only some queues.
 *
 * @author David Buchmann <mail@davidbu.ch>
 *
 * @experimental in 5.3
 */
interface QueueReceiverInterface extends ReceiverInterface
{
    /**
     * Get messages from the specified queue names instead of consuming from all queues.
     *
     * @param string[] $queueNames
     *
     * @return Envelope[]
     */
    public function getFromQueues(array $queueNames): iterable;
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists