RequestInterface.php 577 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace addons\WechatVideoShop\common\expand\sdk\weixin;
  3. interface RequestInterface
  4. {
  5. /**
  6. * @param ModelInterface|null $model
  7. * @return RequestInterface
  8. */
  9. public function send(ModelInterface $model = null);
  10. /**
  11. * @return string
  12. */
  13. public function getError();
  14. /**
  15. * @return string
  16. */
  17. public function respError();
  18. /**
  19. * @return array
  20. */
  21. public function toArray();
  22. /**
  23. * @return RequestInterface
  24. */
  25. public function accessToken();
  26. public function getRawContent();
  27. }