BodyResult.php 294 B

12345678910111213141516171819
  1. <?php
  2. namespace OSS\Result;
  3. /**
  4. * Class BodyResult
  5. * @package OSS\Result
  6. */
  7. class BodyResult extends Result
  8. {
  9. /**
  10. * @return string
  11. */
  12. protected function parseDataFromResponse()
  13. {
  14. return empty($this->rawResponse->body) ? "" : $this->rawResponse->body;
  15. }
  16. }