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.

OrderShopChangeStatusEvent.php 742B

пре 3 година
123456789101112131415161718192021222324252627282930
  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. }