You appear to be a bot. Output may be restricted
Description
Usage
Client::__construct( $config );
Parameters
- $config
- ( mixed ) optional –
Returns
void
Source
File name: easy-digital-downloads/includes/gateways/libs/amazon/Client.php
Lines:
1 to 19 of 19
public function __construct($config = null) { if (!is_null($config)) { if (is_array($config)) { $configArray = $config; } elseif (!is_array($config)) { $configArray = $this->checkIfFileExists($config); } if (is_array($configArray)) { $this->checkConfigKeys($configArray); } else { throw new \Exception('$config is of the incorrect type ' . gettype($configArray) . ' and should be of the type array'); } } else { throw new \Exception('$config cannot be null.'); } }