
| Current Path : /var/www/html/store/web/modules/contrib/commerce/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/web/modules/contrib/commerce/src/EntityUuidMapperInterface.php |
<?php
namespace Drupal\commerce;
/**
* Maps entity UUIDs to entity IDs, and vice-versa.
*/
interface EntityUuidMapperInterface {
/**
* Maps the given entity UUIDs to entity IDs.
*
* @param string $entity_type_id
* The entity type ID.
* @param array $uuids
* THe entity UUIDs.
*
* @return array
* The entity IDs.
*/
public function mapToIds($entity_type_id, array $uuids);
/**
* Maps the given entity IDs to entity UUIDs.
*
* @param string $entity_type_id
* The entity type ID.
* @param array $ids
* THe entity IDs.
*
* @return array
* The entity UUIDs.
*/
public function mapFromIds($entity_type_id, array $ids);
}