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\EventCode
public function __construct(PaymentInterface $payment) {
$this->payment = $payment;
}