PayWithAmazon\IpnHandler::__set PHP Method

__set() public method

* Setter function Sets the value for the key if the key exists in ipnConfig
public __set ( $name, $value )
    public function __set($name, $value)
    {
        if (array_key_exists(strtolower($name), $this->ipnConfig)) {
            $this->ipnConfig[$name] = $value;
        } else {
            throw new \Exception("Key " . $name . " is not part of the configuration", 1);
        }
    }