@@ -65,6 +65,16 @@ class StreamHandler extends AbstractProcessingHandler
$this->stream = null;
}
+ /**
+ * Return the currently active stream if it is open
+ *
+ * @return resource|null
+ */
+ public function getStream()
+ {
+ return $this->stream;
+ }
+
/**
* {@inheritdoc}
*/