platform/api/symfony/Component/Uid/UuidV7.yaml

35 lines
682 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: UuidV7
class_comment: '# * A v7 UUID is lexicographically sortable and contains a 48-bit
timestamp and 74 extra unique bits.
# *
# * Within the same millisecond, monotonicity is ensured by incrementing the random
part by a random increment.
# *
# * @author Nicolas Grekas <p@tchwork.com>'
dependencies: []
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: uuid
default: 'null'
comment: null
- name: getDateTime
visibility: public
parameters: []
comment: null
- name: generate
visibility: public
parameters:
- name: time
default: 'null'
comment: null
traits: []
interfaces:
- TimeBasedUidInterface