PayWithAmazon\Client::__get PHP Method

__get() public method

* Getter Gets the value for the key if the key exists in config
public __get ( $name )
    public function __get($name)
    {
        if (array_key_exists(strtolower($name), $this->config)) {
            return $this->config[strtolower($name)];
        } else {
            throw new \Exception('Key ' . $name . ' is either not a part of the configuration array config or the' . $name . 'does not match the key name in the config array', 1);
        }
    }