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