public function PaymentPreCapture::__construct in Payment 8.2
File
- src/
Event/ PaymentPreCapture.php, line 30
Class
- PaymentPreCapture
- Provides an event that is dispatched before a payment is captured.
Namespace
Drupal\payment\EventCode
public function __construct(PaymentInterface $payment) {
$this->payment = $payment;
}