You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					29 lines
				
				520 B
			
		
		
			
		
	
	
					29 lines
				
				520 B
			|   
											8 months ago
										 | <?php | ||
|  | 
 | ||
|  | 
 | ||
|  | /** | ||
|  |  * Class CopyObjectResult | ||
|  |  * @package OSS\Result | ||
|  |  */ | ||
|  | class CopyObjectResult extends Result | ||
|  | { | ||
|  |     /** | ||
|  |      * @return array() | ||
|  |      */ | ||
|  |     protected function parseDataFromResponse() | ||
|  |     { | ||
|  |         $body = $this->rawResponse->body; | ||
|  |         $xml = simplexml_load_string($body); | ||
|  |         $result = array(); | ||
|  | 
 | ||
|  |         if (isset($xml->LastModified)) { | ||
|  |             $result[] = $xml->LastModified; | ||
|  |         } | ||
|  |         if (isset($xml->ETag)) { | ||
|  |             $result[] = $xml->ETag; | ||
|  |         } | ||
|  | 
 | ||
|  |          return $result; | ||
|  |     } | ||
|  | } |