2015-11-14 61 views
0

訪問私有價值,我有以下對象如何從對象

[yii\authclient\clients\Twitter_ef71f520786335688cd762d29aaa2ac98b6bd42f_token] => yii\authclient\OAuthToken Object 
 
     (
 
      [tokenParamKey] => oauth_token 
 
      [tokenSecretParamKey] => oauth_token_secret 
 
      [createTimestamp] => 1447473086 
 
      [_expireDurationParamKey:yii\authclient\OAuthToken:private] => 
 
      [_params:yii\authclient\OAuthToken:private] => Array 
 
       (
 
        [oauth_token] => 48575497-RTIItaMJBC5LrFl0I2TjYw0ihByC0QuRdRxf44tVX 
 
        [oauth_token_secret] => IcdvTgwiclWGNhX4TrsDjEkEdNwVF7l1XzXmgpNstGfkV 
 
        [user_id] => ********** 
 
        [screen_name] => *********** 
 
        [x_auth_expires] => 0 
 
       ) 
 

 
     )

,並在上述目的我要訪問的參數oauth_tokenoauth_token_secret這是​​

如何在php中獲取這些值?

回答