You are here

interface UuidInterface in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/Uuid/UuidInterface.php \Drupal\Component\Uuid\UuidInterface

Interface for generating UUIDs.

Hierarchy

Expanded class hierarchy of UuidInterface

All classes that implement UuidInterface

File

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

Namespace

Drupal\Component\Uuid
View source
interface UuidInterface {

  /**
   * Generates a Universally Unique IDentifier (UUID).
   *
   * @return
   *   A 16 byte integer represented as a hex string formatted with 4 hyphens.
   */
  public function generate();

}

Members

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