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.

31 line
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. }