Exemplo n.º 1
0
 function setDelegate(\Core\Delegate $delegate)
 {
     if (is_null($this->stream) && $delegate->isType('IO\\Stream\\Handler')) {
         $this->stream = $delegate->getTarget()->getStream();
     }
     parent::setDelegate($delegate);
 }