You are here

UuidInterface.php in Drupal 10

File

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

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.