You are here

public function PaymentPreExecute::__construct in Payment 8.2

File

src/Event/PaymentPreExecute.php, line 30

Class

PaymentPreExecute
Provides an event that is dispatched before a payment is executed.

Namespace

Drupal\payment\Event

Code

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