You are here

class Pecl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Uuid/Pecl.php \Drupal\Component\Uuid\Pecl

UUID implementation using the PECL extension.

Hierarchy

Expanded class hierarchy of Pecl

1 file declares its use of Pecl
UuidTest.php in core/tests/Drupal/Tests/Component/Uuid/UuidTest.php
Contains \Drupal\Tests\Component\Uuid\UuidTest.

File

core/lib/Drupal/Component/Uuid/Pecl.php, line 13
Contains \Drupal\Component\Uuid\Pecl.

Namespace

Drupal\Component\Uuid
View source
class Pecl implements UuidInterface {

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

}

Members

Namesort descending Modifiers Type Description Overrides
Pecl::generate public function Generates a Universally Unique IDentifier (UUID). Overrides UuidInterface::generate