aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-10-22 08:30:43 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-10-22 08:30:43 +0200
commit011ab91d942f1d7096deade4c8a10fe57d51c5b3 (patch)
tree6dcc3bc37cab90564d95d44e0fbb9b08db6df1a1
parentcbd0f4749e447f4d31001e7c898f5e794c5861cb (diff)
downloadStream-011ab91d942f1d7096deade4c8a10fe57d51c5b3.zip
Stream-011ab91d942f1d7096deade4c8a10fe57d51c5b3.tar.gz
Stream-011ab91d942f1d7096deade4c8a10fe57d51c5b3.tar.bz2
Change the visibility of `getStream` to `public`.
Because sometimes, we would like to access to the PHP resource. This was protected for several “security” reasons but this is often blocking to not being able to access the PHP resource directly.
-rw-r--r--Stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stream.php b/Stream.php
index ca42639..9ba0552 100644
--- a/Stream.php
+++ b/Stream.php
@@ -347,7 +347,7 @@ abstract class Stream implements Core\Event\Listenable
*
* @return resource
*/
- protected function getStream()
+ public function getStream()
{
if (empty($this->_bucket)) {
return null;