Version 1
[yaffs-website] / web / core / lib / Drupal / Component / Uuid / UuidInterface.php
diff --git a/web/core/lib/Drupal/Component/Uuid/UuidInterface.php b/web/core/lib/Drupal/Component/Uuid/UuidInterface.php
new file mode 100644 (file)
index 0000000..f9f8a7b
--- /dev/null
@@ -0,0 +1,18 @@
+<?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();
+
+}