$property = $value; } public function __get($property) { return isset($this->$property) ? $this->$property : null; } }