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

Breadcrumb

  1. Drupal Core 11.1.x
  2. UuidFactoryInterface.php

function UuidFactoryInterface::uuid4

Returns a version 4 (random) UUID

Return value

UuidInterface A UuidInterface instance that represents a version 4 UUID

1 method overrides UuidFactoryInterface::uuid4()
UuidFactory::uuid4 in vendor/ramsey/uuid/src/UuidFactory.php
Returns a version 4 (random) UUID

File

vendor/ramsey/uuid/src/UuidFactoryInterface.php, line 152

Class

UuidFactoryInterface
UuidFactoryInterface defines common functionality all `UuidFactory` instances must implement

Namespace

Ramsey\Uuid

Code

public function uuid4() : UuidInterface;

API Navigation

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