From 7d7a2cfb4e04c8f8ee2fb3d943cdd29d6e36c768 Mon Sep 17 00:00:00 2001 From: Konstantin Kuklin Date: Fri, 29 Aug 2014 22:33:52 +0400 Subject: [PATCH] moved getConnection to public --- src/Stream/Stream.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Stream/Stream.php b/src/Stream/Stream.php index 19d2124..3554b81 100644 --- a/src/Stream/Stream.php +++ b/src/Stream/Stream.php @@ -312,6 +312,14 @@ public function __destruct() $this->close(); } + /** + * @return Connection + */ + public function getConnection() + { + return $this->connection; + } + /** * Get the resource link or null if we don't have active stream * @@ -361,14 +369,6 @@ private function getReceiveMethod() return $this->method; } - /** - * @return Connection - */ - private function getConnection() - { - return $this->connection; - } - /** * @return DataHandler */