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;
/**
* UUID version 4 (random) identity generator.
class UuidIdentityGenerator extends AbstractUuidIdentityGenerator
{
* {@inheritdoc}
* @return UuidIdentity
public function generate()
return UuidIdentity::fromString($this->getUuidString());
}