CallbackResult.php 375 B

123456789101112131415161718192021
  1. <?php
  2. namespace OSS\Result;
  3. /**
  4. * Class CallbackResult
  5. * @package OSS\Result
  6. */
  7. class CallbackResult extends PutSetDeleteResult
  8. {
  9. protected function isResponseOk()
  10. {
  11. $status = $this->rawResponse->status;
  12. if ((int)(intval($status) / 100) == 2 && (int)(intval($status)) !== 203) {
  13. return true;
  14. }
  15. return false;
  16. }
  17. }