public function __get($name) { if (isset($this->settings[$name])) { return $this->settings[$name]; } return NULL; }