public function __get($k) { if (array_key_exists($k, $this->_values)) { return $this->_values[$k]; } else { $class = get_class($this); error_log("EasyPost Notice: Undefined property of {$class} instance: {$k}"); return null; } }