You are here

public function EntityUuidMapper::__construct in Commerce Core 8.2

Constructs a new EntityUuidMapper object.

Parameters

\Drupal\Core\Database\Connection $database: The database connection.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/EntityUuidMapper.php, line 39

Class

EntityUuidMapper

Namespace

Drupal\commerce

Code

public function __construct(Connection $database, EntityTypeManagerInterface $entity_type_manager) {
  $this->database = $database;
  $this->entityTypeManager = $entity_type_manager;
}