Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
| Pecl | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
| generate | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| <?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); | |
| } | |
| } |