/** * Constructor. Sets the configuration for this Omeda API client instance. * * @param Configuration $config The config options. */ public function __construct(Configuration $config) { $this->config = $config; if (false === $this->hasValidConfig()) { throw ApiClientException::invalidConfiguration($this->requiredConfigOptions); } $this->initClient(); }