vendor/gos/web-socket-bundle/src/Pusher/Amqp/AmqpConnectionFactoryInterface.php line 7

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Gos\Bundle\WebSocketBundle\Pusher\Amqp;
  3. use Gos\Bundle\WebSocketBundle\Pusher\Exception\PusherUnsupportedException;
  4. trigger_deprecation('gos/web-socket-bundle''3.1''The "%s" interface is deprecated and will be removed in 4.0, use the symfony/messenger component instead.'AmqpConnectionFactoryInterface::class);
  5. /**
  6.  * @deprecated to be removed in 4.0, use the symfony/messenger component instead
  7.  */
  8. interface AmqpConnectionFactoryInterface
  9. {
  10.     /**
  11.      * @throws PusherUnsupportedException if the pusher is not supported in this environment
  12.      */
  13.     public function createConnection(): \AMQPConnection;
  14.     public function createExchange(\AMQPConnection $connection): \AMQPExchange;
  15.     public function createQueue(\AMQPConnection $connection): \AMQPQueue;
  16.     public function isSupported(): bool;
  17. }