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.

24 lines
460 B

6 years ago
  1. <?php
  2. namespace OSS\Result;
  3. use OSS\Core\OssException;
  4. use OSS\OssClient;
  5. /**
  6. *
  7. * @package OSS\Result
  8. */
  9. class SymlinkResult extends Result
  10. {
  11. /**
  12. * @return string
  13. * @throws OssException
  14. */
  15. protected function parseDataFromResponse()
  16. {
  17. $this->rawResponse->header[OssClient::OSS_SYMLINK_TARGET] = rawurldecode($this->rawResponse->header[OssClient::OSS_SYMLINK_TARGET]);
  18. return $this->rawResponse->header;
  19. }
  20. }