Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Component/Uuid/Com.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Component\Uuid; /** * Generates a UUID using the Windows internal GUID extension. * * @see http://php.net/com_create_guid */ class Com implements UuidInterface { /** * {@inheritdoc} */ public function generate() { // Remove {} wrapper and make lower case to keep result consistent. return strtolower(trim(com_create_guid(), '{}')); } }