vendor/gos/web-socket-bundle/src/Pusher/ServerPushHandlerInterface.php line 8

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Gos\Bundle\WebSocketBundle\Pusher;
  3. use Gos\Bundle\WebSocketBundle\Server\App\PushableWampServerInterface;
  4. use React\EventLoop\LoopInterface;
  5. 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.'ServerPushHandlerInterface::class);
  6. /**
  7.  * @deprecated to be removed in 4.0, use the symfony/messenger component instead
  8.  */
  9. interface ServerPushHandlerInterface
  10. {
  11.     public function handle(LoopInterface $loopPushableWampServerInterface $app): void;
  12.     public function close(): void;
  13.     public function setName(string $name): void;
  14.     public function getName(): string;
  15. }