AmqpTransportFactory.php 952 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Messenger\Transport\AmqpExt;
  11. use Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpTransportFactory as BridgeAmqpTransportFactory;
  12. trigger_deprecation('symfony/messenger', '5.1', 'The "%s" class is deprecated, use "%s" instead. The AmqpExt transport has been moved to package "symfony/amqp-messenger" and will not be included by default in 6.0. Run "composer require symfony/amqp-messenger".', AmqpTransportFactory::class, BridgeAmqpTransportFactory::class);
  13. class_exists(BridgeAmqpTransportFactory::class);
  14. if (false) {
  15. /**
  16. * @deprecated since Symfony 5.1, to be removed in 6.0. Use symfony/amqp-messenger instead.
  17. */
  18. class AmqpTransportFactory
  19. {
  20. }
  21. }