Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace LambdaTwelve\OneRecord\Server\Spi;
6
7/**
8 * Ids for the resources the server creates itself: action requests, events,
9 * objects posted by partners, outbound notifications. The default mints
10 * random UUIDs; a host may prefer ULIDs or database-issued ids.
11 */
12interface IdGenerator
13{
14    /**
15     * A new id, unique on this server and safe in a URL path segment.
16     */
17    public function next(): string;
18}