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