Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
21
core/lib/Drupal/Component/Uuid/Pecl.php
Normal file
21
core/lib/Drupal/Component/Uuid/Pecl.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\Component\Uuid\Pecl.
|
||||
*/
|
||||
|
||||
namespace Drupal\Component\Uuid;
|
||||
|
||||
/**
|
||||
* UUID implementation using the PECL extension.
|
||||
*/
|
||||
class Pecl implements UuidInterface {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function generate() {
|
||||
return uuid_create(UUID_TYPE_DEFAULT);
|
||||
}
|
||||
}
|
Reference in a new issue