summaryrefslogtreecommitdiff
path: root/src/Client.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-01 02:52:08 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-01 02:52:08 +0300
commit8a5e2f5aa1c0460c4c9c0216561c5d1079bced82 (patch)
treeddf24ac386ea40c2edaf259ff60261b3247b3ca7 /src/Client.php
parentacb22cbc8a46b160ff297f2ce19c86cfc6c3c7c5 (diff)
make Client::send() public
Diffstat (limited to 'src/Client.php')
-rw-r--r--src/Client.php2
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);
}