You are here

UuidInterface.php in Zircon Profile 8.0

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

File

core/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.