You are here

public static function Payment::lineItemManager in Payment 8.2

Returns the payment line item manager.

Return value

\Drupal\payment\Plugin\Payment\LineItem\PaymentLineItemManagerInterface

3 calls to Payment::lineItemManager()
Generate::createPaymentLineItems in src/Tests/Generate.php
Creates payment line items.
PaymentTest::testLineItemManager in tests/src/Unit/PaymentTest.php
@covers ::lineItemManager
PaymentUnitTest::setUp in tests/src/Kernel/PaymentUnitTest.php
{@inheritdoc

File

src/Payment.php, line 33

Class

Payment
Provides wrappers for services.

Namespace

Drupal\payment

Code

public static function lineItemManager() {
  return \Drupal::service('plugin.manager.payment.line_item');
}