class Pecl in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Uuid/Pecl.php \Drupal\Component\Uuid\Pecl
UUID implementation using the PECL extension.
Hierarchy
- class \Drupal\Component\Uuid\Pecl implements UuidInterface
Expanded class hierarchy of Pecl
File
- lib/
Drupal/ Component/ Uuid/ Pecl.php, line 13 - Contains \Drupal\Component\Uuid\Pecl.
Namespace
Drupal\Component\UuidView source
class Pecl implements UuidInterface {
/**
* {@inheritdoc}
*/
public function generate() {
return uuid_create(UUID_TYPE_DEFAULT);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Pecl:: |
public | function |
Generates a Universally Unique IDentifier (UUID). Overrides UuidInterface:: |