Open
Description
Description
The Yokai\Batch\Factory\JobExecutionIdGeneratorInterface
interface allows to generate ids the way you want.
For the moment, there is a single (prod) implementation of this interface: Yokai\Batch\Factory\UniqidJobExecutionIdGenerator
that is using the PHP uniqid
function.
We should add some alternatives.
Example
Add string $prefix
& bool $moreEntropy
constructor args to UniqidJobExecutionIdGenerator
.
Have at least a bridge with one of these libraries:
ramsey/uuid
symfony/uid
hashids/hashids