You are here

UuidInterface.php in Service Container 7.2

Same filename and directory in other branches
  1. 7 lib/Drupal/Component/Uuid/UuidInterface.php

File

lib/Drupal/Component/Uuid/UuidInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Component\Uuid\UuidInterface.
 */
namespace Drupal\Component\Uuid;


/**
 * Interface for generating UUIDs.
 */
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();

}

Interfaces

Namesort descending Description
UuidInterface Interface for generating UUIDs.