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

Breadcrumb

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

function UuidFactory::setValidator

Sets the validator to use for this factory

Parameters

ValidatorInterface $validator A validator to use for validating: whether a string is a valid UUID

File

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

Class

UuidFactory

Namespace

Ramsey\Uuid

Code

public function setValidator(ValidatorInterface $validator) : void {
    $this->isDefaultFeatureSet = false;
    $this->validator = $validator;
}

API Navigation

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