6 calls to ContextCreatorTrait::createContextFromOrder() in Commerce Stock 8
- OrderEventSubscriber::onOrderCancel in src/
EventSubscriber/ OrderEventSubscriber.php - Performs a stock transaction for an order Cancel event.
- OrderEventSubscriber::onOrderDelete in src/
EventSubscriber/ OrderEventSubscriber.php - Performs a stock transaction on an order delete event.
- OrderEventSubscriber::onOrderItemDelete in src/
EventSubscriber/ OrderEventSubscriber.php - Performs a stock transaction when an order item is deleted.
- OrderEventSubscriber::onOrderItemUpdate in src/
EventSubscriber/ OrderEventSubscriber.php - Performs a stock transaction on an order item update.
- OrderEventSubscriber::onOrderPlace in src/
EventSubscriber/ OrderEventSubscriber.php - Creates a stock transaction when an order is placed.
- OrderEventSubscriber::onOrderUpdate in src/
EventSubscriber/ OrderEventSubscriber.php - Acts on the order update event to create transactions for new items.