您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

31 行
742B

  1. <?php
  2. namespace Lc\CaracoleBundle\Event\Order;
  3. use Symfony\Contracts\EventDispatcher\Event;
  4. class OrderShopChangeStatusEvent extends Event
  5. {
  6. const PRE_CHANGE_STATUS = 'order_shop_event.pre_change_status';
  7. const POST_CHANGE_STATUS = 'order_shop_event.post_change_status';
  8. protected $orderShop;
  9. protected $orderStatus;
  10. public function __construct($orderShop, $orderStatus)
  11. {
  12. $this->orderShop = $orderShop;
  13. $this->orderStatus = $orderStatus;
  14. }
  15. public function getOrderShop()
  16. {
  17. return $this->orderShop;
  18. }
  19. public function getOrderStatus()
  20. {
  21. return $this->orderStatus;
  22. }
  23. }