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