You are here

Pecl.php in Service Container 7

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

File

lib/Drupal/Component/Uuid/Pecl.php
View source
<?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);
  }

}

Classes

Namesort descending Description
Pecl UUID implementation using the PECL extension.