我對這個問題感到無聊,但是如何獲得的價值? _object
被保護,所以PHP告訴我我不能。我正在使用Recurly的PHP庫。如何獲取此對象中的值?
object(Recurly_SubscriptionList)#47 (7) {
["_etag":"Recurly_Pager":private]=> NULL
["_position":"Recurly_Pager":private]=>int(0)
["_count":"Recurly_Pager":private]=>NULL
["_objects":protected]=> array(1) {
[0]=> object(Recurly_Subscription)#50 (6) {
["_values":protected]=> array(11) {
["subscription_add_ons"]=> array(0) {}
["account"]=> object(Recurly_Stub)#54 (4) {
["objectType"]=> string(7) "account"
["_href":protected]=> string(37) "https://api.recurly.com/v2/accounts/1"
["_client":protected]=>NULL
["_links":protected]=>array(0) {}
}
["plan"]=> hello
是否有返回個人訂閱的API函數中的? –