mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 19:24:48 +01:00
24 lines
332 B
PHP
24 lines
332 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 '%s-%s-%s-%s-%s';
|
|
}
|
|
}
|