summaryrefslogtreecommitdiff
path: root/src/PingMessage.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-01 02:03:07 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-01 02:03:07 +0300
commit7b44cbe272e6adf24109a9232a48008a8818f318 (patch)
tree7725bca8517082fe79fe31af1edfca95dfc76987 /src/PingMessage.php
parentc66fc2f691424023b107dfee1295fa165b223f86 (diff)
support new protocol
Diffstat (limited to 'src/PingMessage.php')
-rw-r--r--src/PingMessage.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/PingMessage.php b/src/PingMessage.php
new file mode 100644
index 0000000..2b751a2
--- /dev/null
+++ b/src/PingMessage.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace jobd;
+
+class PingMessage extends Message {
+
+ public function __construct() {
+ parent::__construct(Message::PING);
+ }
+
+ protected function getContent(): array {
+ return [];
+ }
+
+} \ No newline at end of file