public function __toArray($recursive = false)
    {
        if ($recursive) {
            return Util::convertEasyPostObjectToArray($this->_values);
        }

        return $this->_values;
    }
public function __toArray($recursive = false)
    {
        if ($recursive) {
            return Util::convertEasyPostObjectToArray($this->_values);
        }

        return $this->_values;
    }
public function __toArray ( $ recursive = false ) { if ( $ recursive ) { return Util :: convertEasyPostObjectToArray ( $ this -> _values ) ; } return $ this -> _values ; }
convert object to an array

@param bool $recursive
@return array
convert object to an array