23 lines
382 B
PHP
23 lines
382 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @file
|
||
|
* Contains \Drupal\Component\Uuid\UuidInterface.
|
||
|
*/
|
||
|
|
||
|
namespace Drupal\Component\Uuid;
|
||
|
|
||
|
/**
|
||
|
* Interface that defines a UUID backend.
|
||
|
*/
|
||
|
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();
|
||
|
}
|