Jackalope\Transport\DoctrineDBAL\Client::getUuidGenerator PHP Method

getUuidGenerator() protected method

protected getUuidGenerator ( ) : callable
return callable a uuid generator function.
    protected function getUuidGenerator()
    {
        if (!$this->uuidGenerator) {
            $this->uuidGenerator = function () {
                return UUIDHelper::generateUUID();
            };
        }
        return $this->uuidGenerator;
    }