/** * @throws AmadeusClientException */ public function execute() { if (null === $this->amadeusSoapClient) { throw new AmadeusClientException("Error: Set the AmadeusSoapClient"); } $this->amadeusSoapClient->execute($this->getName(), $this->getParameters()); }