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

Breadcrumb

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

function UuidFactoryInterface::uuid3

Returns a version 3 (name-based) UUID based on the MD5 hash of a namespace ID and a name

@psalm-pure

Parameters

string|UuidInterface $ns The namespace (must be a valid UUID):

string $name The name to use for creating a UUID:

Return value

UuidInterface A UuidInterface instance that represents a version 3 UUID

1 method overrides UuidFactoryInterface::uuid3()
UuidFactory::uuid3 in vendor/ramsey/uuid/src/UuidFactory.php
@inheritDoc @psalm-pure

File

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

Class

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

Namespace

Ramsey\Uuid

Code

public function uuid3($ns, string $name) : UuidInterface;

API Navigation

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