3 namespace Drupal\Component\Uuid;
6 * Generates a UUID using the Windows internal GUID extension.
8 * @see http://php.net/com_create_guid
10 class Com implements UuidInterface {
14 public function generate() {
15 // Remove {} wrapper and make lower case to keep result consistent.
16 return strtolower(trim(com_create_guid(), '{}'));