Exemple #1
0
 public function __construct(Response $response, array $entryEvents, Event $completeEvent)
 {
     $this->fields = $response->getFields();
     $this->response = $response;
     $this->entryEvents = $entryEvents;
     $this->completeEvent = $completeEvent;
 }
Exemple #2
0
 public function writeResponse(Response $response)
 {
     $this->line($response->getCommandOutput());
     $autoclose = $this->option('autoclose');
     if ($autoclose) {
         $this->stop();
     }
     $this->writeInterface();
 }
Exemple #3
0
 public function __construct(Response $response)
 {
     parent::__construct('Error "' . $response->getFieldValue('Message') . '"');
     $this->response = $response;
 }
 public function __construct(Response $response)
 {
     parent::__construct('Unexpected message with action ID "' . $response->getActionId() . '" received');
     $this->response = $response;
 }
Exemple #5
0
 public function writeResponse(Response $response)
 {
     $message = Arr::get($response->getFields(), 'Message', null);
     $this->line($message);
     $this->stop();
 }