summaryrefslogtreecommitdiff
path: root/src/messages/PongMessage.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-04-13 02:14:53 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-04-13 02:14:53 +0300
commitd0fa8d6f63003a6cb2f1897158bc587ab2344ea3 (patch)
tree5a6c165e928354a59eea48030c5de51067d381e4 /src/messages/PongMessage.php
parent5272c5f541a75b2a7824df4264ad7e69c6e346fa (diff)
1.6.0: support signals
Diffstat (limited to 'src/messages/PongMessage.php')
-rw-r--r--src/messages/PongMessage.php17
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