Skip to content

RamseyUuidEventIdGenerator ​

Rasuvaeff\Yii3AbTesting\RamseyUuidEventIdGenerator

Class · rasuvaeff/yii3-ab-testing · Source · implements EventIdGenerator

UUIDv7 from ramsey/uuid, for applications already standardised on it.

Requires ramsey/uuid — an optional dependency, so this class is only loadable when the library is installed. Bind it explicitly; see SymfonyUidEventIdGenerator for why there is no auto-detection.

Methods ​

generate() ​

php
generate(): string