EasyPost\Object::__get PHP Method

__get() public method

getter
public __get ( string $k ) : mixed
$k string
return mixed
    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;
        }
    }