示例#1
0
文件: Wrapper.php 项目: jgswift/qio
 /**
  * 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;
 }
示例#2
0
文件: Iterator.php 项目: jgswift/qio
 /**
  * Alias for wrapper stream retrieval
  * @return \qio\Stream
  */
 public function getStream()
 {
     return $this->wrapper->getStream();
 }