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

Breadcrumb

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

function CodecInterface::decode

Returns a UuidInterface derived from a hexadecimal string representation

Parameters

string $encodedUuid The hexadecimal string representation to: convert into a UuidInterface instance

Return value

UuidInterface An instance of a UUID decoded from a hexadecimal string representation

1 method overrides CodecInterface::decode()
StringCodec::decode in vendor/ramsey/uuid/src/Codec/StringCodec.php
@inheritDoc

File

vendor/ramsey/uuid/src/Codec/CodecInterface.php, line 59

Class

CodecInterface
A codec encodes and decodes a UUID according to defined rules

Namespace

Ramsey\Uuid\Codec

Code

public function decode(string $encodedUuid) : UuidInterface;

API Navigation

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