You are here

public function InvoiceTotalSummary::__construct in Commerce Invoice 8.2

Same name in this branch
  1. 8.2 src/InvoiceTotalSummary.php \Drupal\commerce_invoice\InvoiceTotalSummary::__construct()
  2. 8.2 src/Plugin/Field/FieldFormatter/InvoiceTotalSummary.php \Drupal\commerce_invoice\Plugin\Field\FieldFormatter\InvoiceTotalSummary::__construct()

Constructs a new InvoiceTotalSummary object.

Parameters

\Drupal\commerce_order\AdjustmentTransformerInterface $adjustment_transformer: The adjustment transformer.

File

src/InvoiceTotalSummary.php, line 24

Class

InvoiceTotalSummary

Namespace

Drupal\commerce_invoice

Code

public function __construct(AdjustmentTransformerInterface $adjustment_transformer) {
  $this->adjustmentTransformer = $adjustment_transformer;
}