lib/StripeObject.php
public static function constructFrom($values, $opts = null)
    {
        $obj = new static(isset($values['id']) ? $values['id'] : null);
        $obj->refreshFrom($values, $opts);
        return $obj;
    }
public static function constructFrom($values, $opts = null)
    {
        $obj = new static(isset($values['id']) ? $values['id'] : null);
        $obj->refreshFrom($values, $opts);
        return $obj;
    }
public static function constructFrom ( $ values , $ opts = null ) { $ obj = new static ( isset ( $ values [ 'id' ] ) ? $ values [ 'id' ] : null ) ; $ obj -> refreshFrom ( $ values , $ opts ) ; return $ obj ; }
This unfortunately needs to be public to be used in Util\Util

@param array $values
@param null|string|array|Util\RequestOptions $opts

@return static The object constructed from the given values.
This unfortunately needs to be public to be used in Util \ Util