14 lines
248 B
PHP
14 lines
248 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Domain\Ports\Services;
|
|
|
|
use Ramsey\Uuid\UuidInterface;
|
|
|
|
interface UuidConverter
|
|
{
|
|
public function fromBase58(string $uuid): UuidInterface;
|
|
|
|
public function toBase58(UuidInterface $uuid): string;
|
|
}
|