/** * Update wrapper stream * Will update parent as well * @param \qio\Stream $stream */ public function setStream(\qio\Stream $stream) { if ($this->isWrapped()) { $this->wrapper->setStream($stream); } $this->stream = $stream; }
/** * Alias for wrapper stream retrieval * @return \qio\Stream */ public function getStream() { return $this->wrapper->getStream(); }