public function Rounder::__construct in Commerce Core 8.2
Constructs a new Rounder object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- modules/
price/ src/ Rounder.php, line 22
Class
Namespace
Drupal\commerce_priceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->currencyStorage = $entity_type_manager
->getStorage('commerce_currency');
}