diff --git a/src/ProtocolStreamWriter.php b/src/ProtocolStreamWriter.php index 0bb2ca4..54e042b 100644 --- a/src/ProtocolStreamWriter.php +++ b/src/ProtocolStreamWriter.php @@ -21,7 +21,7 @@ class ProtocolStreamWriter implements ProtocolWriter * @param Message $msg * @return void */ - private function write(Message $msg) + public function write(Message $msg) { fwrite($this->output, (string)$msg); }