vendor/gos/web-socket-bundle/src/Topic/PushableTopicInterface.php line 8

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Gos\Bundle\WebSocketBundle\Topic;
  3. use Gos\Bundle\WebSocketBundle\Router\WampRequest;
  4. use Ratchet\Wamp\Topic;
  5. trigger_deprecation('gos/web-socket-bundle''3.7''The "%s" interface is deprecated and will be removed in 4.0, use the symfony/messenger component instead.'PushableTopicInterface::class);
  6. /**
  7.  * @deprecated to be removed in 4.0, use the symfony/messenger component instead
  8.  */
  9. interface PushableTopicInterface
  10. {
  11.     /**
  12.      * @param string|array $data
  13.      */
  14.     public function onPush(Topic $topicWampRequest $request$datastring $provider): void;
  15. }