You are here

public function PaymentTypePreResumeContext::__construct in Payment 8.2

File

src/Event/PaymentTypePreResumeContext.php, line 29

Class

PaymentTypePreResumeContext
Provides an event that is dispatched before the payment type's original context is resumed.

Namespace

Drupal\payment\Event

Code

public function __construct(PaymentInterface $payment) {
  $this->payment = $payment;
}