class Uuid

Factory class for UUIDs.

Determines which UUID implementation to use, and uses that to generate and validate UUIDs.

Hierarchy

  • class \Drupal\Component\Uuid\Uuid

Expanded class hierarchy of Uuid

11 files declare their use of Uuid

File

drupal/core/lib/Drupal/Component/Uuid/Uuid.php, line 16
Definition of Drupal\Component\Uuid\Uuid.

Namespace

Drupal\Component\Uuid
View source

Members

Namesort descending Modifiers Type Description Overrides
Uuid::$plugin protected property Holds the UUID implementation.
Uuid::determinePlugin protected function Determines the optimal implementation to use for generating UUIDs.
Uuid::generate public function Generates a universally unique identifier.
Uuid::isValid public function Checks that a string appears to be in the format of a UUID.
Uuid::__construct public function Instantiates the correct UUID object.