class Pecl
Same name in other branches
- 9 core/lib/Drupal/Component/Uuid/Pecl.php \Drupal\Component\Uuid\Pecl
- 8.9.x core/lib/Drupal/Component/Uuid/Pecl.php \Drupal\Component\Uuid\Pecl
- 10 core/lib/Drupal/Component/Uuid/Pecl.php \Drupal\Component\Uuid\Pecl
Generates a UUID using the PECL extension.
Hierarchy
- class \Drupal\Component\Uuid\Pecl implements \Drupal\Component\Uuid\UuidInterface
Expanded class hierarchy of Pecl
1 file declares its use of Pecl
- UuidTest.php in core/
tests/ Drupal/ Tests/ Component/ Uuid/ UuidTest.php
File
-
core/
lib/ Drupal/ Component/ Uuid/ Pecl.php, line 8
Namespace
Drupal\Component\UuidView source
class Pecl implements UuidInterface {
/**
* {@inheritdoc}
*/
public function generate() {
return strtolower(uuid_create(UUID_TYPE_DEFAULT));
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
Pecl::generate | public | function | Overrides UuidInterface::generate |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.