Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
encodeBinary (UuidInterface $uuid) | |
decodeBytes ($bytes) | |
Fonctions membres publiques hérités de StringCodec | |
__construct (UuidBuilderInterface $builder) | |
encode (UuidInterface $uuid) | |
encodeBinary (UuidInterface $uuid) | |
decode ($encodedUuid) | |
decodeBytes ($bytes) | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de StringCodec | |
getBuilder () | |
extractComponents ($encodedUuid) | |
getFields (array $components) | |
OrderedTimeCodec optimizes the bytes to increment UUIDs when time goes by, to improve database INSERTs. The string value will be unchanged from StringCodec. Only works for UUID type 1.
decodeBytes | ( | $bytes | ) |
Decodes an optimized binary representation of a UUID into a UuidInterface object instance
string | $bytes |
InvalidArgumentException | if string has not 16 characters |
Implémente CodecInterface.
Références StringCodec\decode().
encodeBinary | ( | UuidInterface | $uuid | ) |
Encodes a UuidInterface as an optimized binary representation of a UUID
UuidInterface | $uuid |
Implémente CodecInterface.
Références $fields, et UuidInterface\getFieldsHex().