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.

21 lines
375 B

6 years ago
  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. }