vendor/gos/web-socket-bundle/src/Pusher/AbstractServerPushHandler.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" class is deprecated and will be removed in 4.0, use the symfony/messenger component instead.'AbstractServerPushHandler::class);
  4. /**
  5.  * @deprecated to be removed in 4.0, use the symfony/messenger component instead
  6.  */
  7. abstract class AbstractServerPushHandler implements ServerPushHandlerInterface
  8. {
  9.     private string $name '';
  10.     public function setName(string $name): void
  11.     {
  12.         $this->name $name;
  13.     }
  14.     public function getName(): string
  15.     {
  16.         return $this->name;
  17.     }
  18. }