You are here

Pecl.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/lib/Drupal/Component/Uuid/Pecl.php

File

core/lib/Drupal/Component/Uuid/Pecl.php
View source
<?php

namespace Drupal\Component\Uuid;


/**
 * Generates a UUID using the PECL extension.
 */
class Pecl implements UuidInterface {

  /**
   * {@inheritdoc}
   */
  public function generate() {
    return uuid_create(UUID_TYPE_DEFAULT);
  }

}

Classes

Namesort descending Description
Pecl Generates a UUID using the PECL extension.