parse_json_response() 정적인 공개 메소드

static public parse_json_response ( $response )
예제 #1
0
파일: Api.php 프로젝트: Hield/imagesharing
 function __construct($response)
 {
     parent::__construct(\Cloudinary\Api::parse_json_response($response));
     $this->rate_limit_reset_at = strtotime($response->headers["X-FeatureRateLimit-Reset"]);
     $this->rate_limit_allowed = intval($response->headers["X-FeatureRateLimit-Limit"]);
     $this->rate_limit_remaining = intval($response->headers["X-FeatureRateLimit-Remaining"]);
 }