Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

UuidInterface.php

Same filename in this branch
  1. 11.1.x vendor/ramsey/uuid/src/UuidInterface.php
  2. 11.1.x vendor/ramsey/uuid/src/Rfc4122/UuidInterface.php

Namespace

Drupal\Component\Uuid

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 string
     *   A 16 byte integer represented as a hex string formatted with 4 hyphens.
     */
    public function generate();

}

Interfaces

Title Deprecated Summary
UuidInterface Interface for generating UUIDs.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal