OSS\Result\CopyObjectResult::parseDataFromResponse PHP Method

parseDataFromResponse() protected method

protected parseDataFromResponse ( ) : array()
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;
    }
CopyObjectResult