public function AdjustmentTransformer::__construct in Commerce Core 8.2
Constructs a new AdjustmentTransformer object.
Parameters
\Drupal\commerce_order\AdjustmentTypeManager $adjustment_type_manager: The adjustment type manager.
\Drupal\commerce_price\RounderInterface $rounder: The rounder.
File
- modules/
order/ src/ AdjustmentTransformer.php, line 32
Class
Namespace
Drupal\commerce_orderCode
public function __construct(AdjustmentTypeManager $adjustment_type_manager, RounderInterface $rounder) {
$this->adjustmentTypeManager = $adjustment_type_manager;
$this->rounder = $rounder;
}