vendor/gos/web-socket-bundle/src/Server/App/PushableWampServerInterface.php line 8

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Gos\Bundle\WebSocketBundle\Server\App;
  3. use Gos\Bundle\WebSocketBundle\Router\WampRequest;
  4. use Ratchet\Wamp\WampServerInterface;
  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.', PushableWampServerInterface::class);
  6. /**
  7. * @deprecated to be removed in 4.0, use the symfony/messenger component instead
  8. */
  9. interface PushableWampServerInterface extends WampServerInterface
  10. {
  11. /**
  12. * @param string|array $data
  13. * @param string $provider
  14. */
  15. public function onPush(WampRequest $request, $data, $provider);
  16. }