for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* identity (https://github.com/phpgears/identity).
* Identity objects for PHP.
*
* @license MIT
* @link https://github.com/phpgears/identity
* @author Julián Gutiérrez <[email protected]>
*/
declare(strict_types=1);
namespace Gears\Identity;
use Ramsey\Uuid\Uuid;
/**
* Abstract UUID identity generator.
abstract class AbstractUuidIdentityGenerator implements IdentityGenerator
{
* Get UUID string.
* @return string
protected function getUuidString(): string
return Uuid::uuid4()->toString();
}