public function __get($name) { if (array_key_exists(strtolower($name), $this->ipnConfig)) { return $this->ipnConfig[$name]; } else { throw new \Exception("Key " . $name . " was not found in the configuration", 1); } }