BindingInstallerInterface.php 633 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Amqp\Topology;
  7. use Magento\Framework\MessageQueue\Topology\Config\ExchangeConfigItem\BindingInterface;
  8. use PhpAmqpLib\Channel\AMQPChannel;
  9. /**
  10. * Exchange binding installer.
  11. */
  12. interface BindingInstallerInterface
  13. {
  14. /**
  15. * Install exchange bindings.
  16. *
  17. * @param AMQPChannel $channel
  18. * @param BindingInterface $binding
  19. * @param string $exchangeName
  20. * @return void
  21. */
  22. public function install(AMQPChannel $channel, BindingInterface $binding, $exchangeName);
  23. }