public function __construct(Response $response, array $entryEvents, Event $completeEvent) { $this->fields = $response->getFields(); $this->response = $response; $this->entryEvents = $entryEvents; $this->completeEvent = $completeEvent; }
public function writeResponse(Response $response) { $this->line($response->getCommandOutput()); $autoclose = $this->option('autoclose'); if ($autoclose) { $this->stop(); } $this->writeInterface(); }
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; }
public function writeResponse(Response $response) { $message = Arr::get($response->getFields(), 'Message', null); $this->line($message); $this->stop(); }