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