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.

36 line
818B

  1. <?php
  2. namespace Lc\ShopBundle\Event\OrderShop;
  3. use Symfony\Contracts\EventDispatcher\Event;
  4. /**
  5. * class EntityEvent.
  6. *
  7. * @author Simon Vieille <simon@deblan.fr>
  8. */
  9. class OrderShopChangeStatusEvent extends Event
  10. {
  11. const PRE_CHANGE_STATUS = 'order_shop_event.pre_change_status';
  12. const POST_CHANGE_STATUS = 'order_shop_event.post_change_status';
  13. protected $orderShop;
  14. protected $orderStatus;
  15. public function __construct($orderShop, $orderStatus)
  16. {
  17. $this->orderShop = $orderShop;
  18. $this->orderStatus = $orderStatus;
  19. }
  20. public function getOrderShop()
  21. {
  22. return $this->orderShop;
  23. }
  24. public function getOrderStatus()
  25. {
  26. return $this->orderStatus;
  27. }
  28. }