final | |
---|---|
implements |
TypeInterface |
A value object representing a hexadecimal number
This class exists for type-safety purposes, to ensure that hexadecimal numbers returned from ramsey/uuid methods as strings are truly hexadecimal and not some other kind of string.
Methods | ||
---|---|---|
public
|
__construct(self|string $value)
|
# |
public
|
toString(): string
|
# |
public
|
__toString(): string
|
# |
public
|
jsonSerialize(): string
|
# |
public
|
serialize(): string
|
# |
public
|
__serialize(): array{string: string}
|
# |
public
|
unserialize(string $data): void
|
# |
public
|
__unserialize(array{string?: string} $data): void
|
# |