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