Пример #1
0
 public function getOutput($type, InputMessageIdentifier $identifier)
 {
     $id = $identifier->getId();
     while (!isset($this->outputMessages[$id])) {
         $this->channel->wait();
     }
     $outputMessage = $this->outputMessages[$id];
     unset($this->outputMessages[$id]);
     return $outputMessage;
 }