DoctrineTransportFactory.php 994 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\Doctrine;
  11. use Symfony\Component\Messenger\Bridge\Doctrine\Transport\DoctrineTransportFactory as BridgeDoctrineTransportFactory;
  12. trigger_deprecation('symfony/messenger', '5.1', 'The "%s" class is deprecated, use "%s" instead. The Doctrine transport has been moved to package "symfony/doctrine-messenger" and will not be included by default in 6.0. Run "composer require symfony/doctrine-messenger".', DoctrineTransportFactory::class, BridgeDoctrineTransportFactory::class);
  13. class_exists(BridgeDoctrineTransportFactory::class);
  14. if (false) {
  15. /**
  16. * @deprecated since Symfony 5.1, to be removed in 6.0. Use symfony/doctrine-messenger instead.
  17. */
  18. class DoctrineTransportFactory
  19. {
  20. }
  21. }