PaymentReference.php in Payment 8.2
Same filename in this branch
- 8.2 modules/payment_reference/src/PaymentReference.php
- 8.2 modules/payment_reference/src/Element/PaymentReference.php
- 8.2 modules/payment_reference/src/Plugin/Payment/Type/PaymentReference.php
- 8.2 modules/payment_reference/src/Plugin/Field/FieldWidget/PaymentReference.php
- 8.2 modules/payment_reference/src/Plugin/Field/FieldType/PaymentReference.php
Namespace
Drupal\payment_referenceFile
modules/payment_reference/src/PaymentReference.phpView source
<?php
namespace Drupal\payment_reference;
/**
* Provides wrappers for services.
*/
class PaymentReference {
/**
* Returns the payment factory.
*
* @return \Drupal\payment_reference\PaymentFactoryInterface
*/
public static function factory() {
return \Drupal::service('payment_reference.payment_factory');
}
/**
* Returns the payment reference queue.
*
* @return \Drupal\payment\QueueInterface
*/
public static function queue() {
return \Drupal::service('payment_reference.queue');
}
}
Classes
Name![]() |
Description |
---|---|
PaymentReference | Provides wrappers for services. |