vendor/gos/web-socket-bundle/src/Pusher/PusherInterface.php line 5

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Gos\Bundle\WebSocketBundle\Pusher;
  3. 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.', PusherInterface::class);
  4. /**
  5. * @deprecated to be removed in 4.0, use the symfony/messenger component instead
  6. */
  7. interface PusherInterface
  8. {
  9. /**
  10. * @param string|array $data
  11. */
  12. public function push($data, string $routeName, array $routeParameters = [], array $context = []): void;
  13. public function close(): void;
  14. public function setName(string $name): void;
  15. public function getName(): string;
  16. }