Skip to content

Commit

Permalink
moved getConnection to public
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinKuklin committed Aug 29, 2014
1 parent a7d9651 commit 7d7a2cf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Stream/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -361,14 +369,6 @@ private function getReceiveMethod()
return $this->method;
}

/**
* @return Connection
*/
private function getConnection()
{
return $this->connection;
}

/**
* @return DataHandler
*/
Expand Down

0 comments on commit 7d7a2cf

Please sign in to comment.