File manager - Edit - /home/verseaumee/blueversion/wp-content/plugins/give/src/PaymentGateways/Gateways/Stripe/Actions/ValidatePaymentMethod.php
Back
<?php namespace Give\PaymentGateways\Gateways\Stripe\Actions; use Give\PaymentGateways\Gateways\Stripe\Exceptions\PaymentMethodException; use Give\PaymentGateways\Gateways\Stripe\ValueObjects\PaymentMethod; /** * @since 2.19.6 Do not extend removed WorkflowAction class. * @since 2.19.0 */ class ValidatePaymentMethod { /** * @since 2.19.0 * @param PaymentMethod $paymentMethod * @throws PaymentMethodException */ public function __invoke( PaymentMethod $paymentMethod ) { if( ! $paymentMethod->id() ) { throw new PaymentMethodException('Payment Method Not Found'); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings