public function OrderPaymentIntentSubscriber::__construct in Commerce Stripe 8
Constructs a new OrderEventsSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
EventSubscriber/ OrderPaymentIntentSubscriber.php, line 47
Class
- OrderPaymentIntentSubscriber
- Subscribes to order events to syncronize orders with their payment intents.
Namespace
Drupal\commerce_stripe\EventSubscriberCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}