diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-01 02:52:08 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-01 02:52:08 +0300 |
commit | 8a5e2f5aa1c0460c4c9c0216561c5d1079bced82 (patch) | |
tree | ddf24ac386ea40c2edaf259ff60261b3247b3ca7 | |
parent | acb22cbc8a46b160ff297f2ce19c86cfc6c3c7c5 (diff) |
make Client::send() public
-rw-r--r-- | src/Client.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Client.php b/src/Client.php index 2d4b6e1..ec3af88 100644 --- a/src/Client.php +++ b/src/Client.php @@ -110,7 +110,7 @@ class Client { /** * @param Message $message */ - protected function send(Message $message) { + public function send(Message $message) { $serialized = $message->serialize(); fwrite($this->sock, $serialized . self::EOT); } |