Exemplo n.º 1
0
 /**
  * Retrieve wrapper stream
  * Attempts to find parent wrapper stream if none available on local
  * @return \qio\Stream
  */
 public function getStream()
 {
     if (is_null($this->stream) && $this->isWrapped()) {
         $this->stream = $this->wrapper->getStream();
     }
     return $this->stream;
 }
Exemplo n.º 2
0
 /**
  * Alias for wrapper stream retrieval
  * @return \qio\Stream
  */
 public function getStream()
 {
     return $this->wrapper->getStream();
 }