Source of file PublisherParameters.php

Size: 1,345 Bytes - Last Modified: 2021-01-12T22:04:13+00:00

C:/Users/MAKS/Code/_PROJECTS/amqp-agent/src/Config/PublisherParameters.php

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
<?php

/**
 * @author Marwan Al-Soltany <MarwanAlsoltany@gmail.com>
 * @copyright Marwan Al-Soltany 2020
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

declare(strict_types=1);

namespace MAKS\AmqpAgent\Config;

use MAKS\AmqpAgent\Config\AbstractParameters;
use MAKS\AmqpAgent\Config\AmqpAgentParameters;

/**
 * A subset of AmqpAgentParameters class for the Publisher class.
 * @since 1.2.0
 */
final class PublisherParameters extends AbstractParameters
{
    /**
     * The default exchange options that the worker should use when no overrides are provided.
     * @var array
     */
    public const EXCHANGE_OPTIONS = AmqpAgentParameters::EXCHANGE_OPTIONS;

    /**
     * The default bind options that the worker should use when no overrides are provided.
     * @var array
     */
    public const BIND_OPTIONS = AmqpAgentParameters::BIND_OPTIONS;

    /**
     * The default message options that the worker should use when no overrides are provided.
     * @var array
     */
    public const MESSAGE_OPTIONS = AmqpAgentParameters::MESSAGE_OPTIONS;

    /**
     * The default publish options that the worker should use when no overrides are provided.
     * @var array
     */
    public const PUBLISH_OPTIONS = AmqpAgentParameters::PUBLISH_OPTIONS;
}