Documentation

AmadeusBuilder
in package

Table of Contents

$configuration  : Configuration
__construct()  : mixed
build()  : Amadeus
Return a Amadeus object.
getConfiguration()  : Configuration
setHost()  : $this
Set the optional custom host domain to use for API calls.
setHttpClient()  : AmadeusBuilder
Set the http client to use. Defaults to BasicHTTPClient.
setLogLevel()  : $this
Set the log level for debugging.
setPort()  : AmadeusBuilder
Set the port to use. Defaults to 443 for an SSL connection, and 80 for a non SSL connection.
setProductionEnvironment()  : AmadeusBuilder
Set to production environment.
setSsl()  : AmadeusBuilder
Whether to use SSL. Defaults to true
setTimeout()  : $this
Set the maximum number of seconds to allow cURL functions to execute.

Properties

Methods

setHost()

Set the optional custom host domain to use for API calls.

public setHost(string $host) : $this

Defaults to "test.api.amadeus.com" for a test environment, and "api.amadeus.com" for a production environment.

Parameters
$host : string
Return values
$this

setLogLevel()

Set the log level for debugging.

public setLogLevel(string $logLevel) : $this
Parameters
$logLevel : string
Return values
$this

setTimeout()

Set the maximum number of seconds to allow cURL functions to execute.

public setTimeout(int $timeout) : $this
Parameters
$timeout : int
Return values
$this

Search results