Example #1
0
 /**
  * Update wrapper
  * @param \qio\Stream\Wrapper $wrapper
  */
 public function setWrapper(Wrapper $wrapper)
 {
     if (is_null($this->stream)) {
         $this->setStream($wrapper->getStream());
     }
     $this->wrapper = $wrapper;
 }