diff options
Diffstat (limited to 'src/messages/PongMessage.php')
-rw-r--r-- | src/messages/PongMessage.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/messages/PongMessage.php b/src/messages/PongMessage.php new file mode 100644 index 0000000..00bb499 --- /dev/null +++ b/src/messages/PongMessage.php @@ -0,0 +1,17 @@ +<?php + +namespace jobd\messages; + +class PongMessage extends Message { + + public function __construct() + { + parent::__construct(Message::PING); + } + + protected function getContent(): array + { + return []; + } + +}
\ No newline at end of file |