You are here

public static function PaymentReference::factory in Payment 8.2

Returns the payment factory.

Return value

\Drupal\payment_reference\PaymentFactoryInterface

1 call to PaymentReference::factory()
PaymentReferenceTest::testFactory in modules/payment_reference/tests/src/Unit/PaymentReferenceTest.php
@covers ::factory

File

modules/payment_reference/src/PaymentReference.php, line 15

Class

PaymentReference
Provides wrappers for services.

Namespace

Drupal\payment_reference

Code

public static function factory() {
  return \Drupal::service('payment_reference.payment_factory');
}