Skip to content

SymfonyUidEventIdGenerator ​

Rasuvaeff\Yii3AbTesting\SymfonyUidEventIdGenerator

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

UUIDv7 from symfony/uid, for applications already standardised on it.

Requires symfony/uid — an optional dependency, so this class is only loadable when the library is installed. Nothing selects it automatically: bind it explicitly, because silently switching generator based on what happens to be in vendor/ would be worse than an explicit default.

Methods ​

generate() ​

php
generate(): string