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

Breadcrumb

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

interface UuidBuilderInterface

A UUID builder builds instances of UuidInterface

@psalm-immutable

Hierarchy

  • interface \Ramsey\Uuid\Builder\UuidBuilderInterface

Expanded class hierarchy of UuidBuilderInterface

All classes that implement UuidBuilderInterface

6 files declare their use of UuidBuilderInterface
FeatureSet.php in vendor/ramsey/uuid/src/FeatureSet.php
GuidBuilder.php in vendor/ramsey/uuid/src/Guid/GuidBuilder.php
StringCodec.php in vendor/ramsey/uuid/src/Codec/StringCodec.php
UuidBuilder.php in vendor/ramsey/uuid/src/Nonstandard/UuidBuilder.php
UuidBuilder.php in vendor/ramsey/uuid/src/Rfc4122/UuidBuilder.php

... See full list

File

vendor/ramsey/uuid/src/Builder/UuidBuilderInterface.php, line 25

Namespace

Ramsey\Uuid\Builder
View source
interface UuidBuilderInterface {
    
    /**
     * Builds and returns a UuidInterface
     *
     * @param CodecInterface $codec The codec to use for building this UuidInterface instance
     * @param string $bytes The byte string from which to construct a UUID
     *
     * @return UuidInterface Implementations may choose to return more specific
     *     instances of UUIDs that implement UuidInterface
     *
     * @psalm-pure
     */
    public function build(CodecInterface $codec, string $bytes) : UuidInterface;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
UuidBuilderInterface::build public function Builds and returns a UuidInterface 5

API Navigation

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