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

Breadcrumb

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

function UuidFactory::setCodec

Sets the codec to use for this factory

Parameters

CodecInterface $codec A UUID encoder-decoder:

File

vendor/ramsey/uuid/src/UuidFactory.php, line 102

Class

UuidFactory

Namespace

Ramsey\Uuid

Code

public function setCodec(CodecInterface $codec) : void {
    $this->isDefaultFeatureSet = false;
    $this->codec = $codec;
}

API Navigation

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