mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
24 lines
354 B
PHP
24 lines
354 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Ramsey\Uuid;
|
|
|
|
if (class_exists('Ramsey\Uuid\Uuid')) {
|
|
return;
|
|
}
|
|
|
|
class Uuid implements UuidInterface
|
|
{
|
|
public static function uuid4(): self
|
|
{
|
|
return new Uuid();
|
|
}
|
|
|
|
public function toString()
|
|
{
|
|
// dummy value
|
|
return '4398dda9-3bc0-45ec-ae81-3d81a86ad84a';
|
|
}
|
|
}
|