OrderOperationInterface.php 666 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: shenyang
  5. * Date: 2018/8/1
  6. * Time: 下午5:01
  7. */
  8. namespace app\frontend\modules\order\operations;
  9. interface OrderOperationInterface
  10. {
  11. const TYPE_SUCCESS = 'success';
  12. const TYPE_WARNING = 'warning';
  13. const TYPE_DANGER = 'danger';
  14. const TYPE_PRIMARY = 'primary';
  15. const TYPE_INFO = 'info';
  16. public function enable();
  17. /**
  18. * @return string
  19. */
  20. public function getName();
  21. /**
  22. * @return string
  23. */
  24. public function getValue();
  25. /**
  26. * @return string
  27. */
  28. public function getApi();
  29. /**
  30. * @return string
  31. */
  32. public function getType();
  33. }