function Uuid::toString
@psalm-return non-empty-string
Overrides UuidInterface::toString
5 calls to Uuid::toString()
- Uuid::compareTo in vendor/
ramsey/ uuid/ src/ Uuid.php - Returns -1, 0, or 1 if the UUID is less than, equal to, or greater than the other UUID
- Uuid::getHex in vendor/
ramsey/ uuid/ src/ Uuid.php - Returns the hexadecimal representation of the UUID
- Uuid::getUrn in vendor/
ramsey/ uuid/ src/ Uuid.php - Returns the string standard representation of the UUID as a URN
- Uuid::jsonSerialize in vendor/
ramsey/ uuid/ src/ Uuid.php - Converts the UUID to a string for JSON serialization
- Uuid::__toString in vendor/
ramsey/ uuid/ src/ Uuid.php - @psalm-return non-empty-string
File
-
vendor/
ramsey/ uuid/ src/ Uuid.php, line 398
Class
- Uuid
- Uuid provides constants and static methods for working with and generating UUIDs
Namespace
Ramsey\UuidCode
public function toString() : string {
return $this->codec
->encode($this);
}