PublisherConnectionInterface.php 599 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\MessageQueue\Publisher\Config;
  7. /**
  8. * Representation of publisher connection configuration.
  9. */
  10. interface PublisherConnectionInterface
  11. {
  12. /**
  13. * Get Connection name.
  14. *
  15. * @return string
  16. */
  17. public function getName();
  18. /**
  19. * Get exchange name.
  20. *
  21. * @return string
  22. */
  23. public function getExchange();
  24. /**
  25. * Check if connection disabled.
  26. *
  27. * @return bool
  28. */
  29. public function isDisabled();
  30. }