Example #1
0
 /**
  * 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;
 }
Example #2
0
 /**
  * Alias for wrapper stream retrieval
  * @return \qio\Stream
  */
 public function getStream()
 {
     return $this->wrapper->getStream();
 }