| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* This file is part of the ramsey/uuid library |
| 5 |
* |
| 6 |
* For the full copyright and license information, please view the LICENSE |
| 7 |
* file that was distributed with this source code. |
| 8 |
* |
| 9 |
* @copyright Copyright (c) Ben Ramsey <[email protected]> |
| 10 |
* @license http://opensource.org/licenses/MIT MIT |
| 11 |
*/ |
| 12 |
declare (strict_types=1); |
| 13 |
namespace Dudlewebs\WPMCS\Ramsey\Uuid\Rfc4122; |
| 14 |
|
| 15 |
use Dudlewebs\WPMCS\Ramsey\Uuid\UuidInterface as BaseUuidInterface; |
| 16 |
/** |
| 17 |
* Also known as a Leach-Salz variant UUID, an RFC 4122 variant UUID is a |
| 18 |
* universally unique identifier defined by RFC 4122 |
| 19 |
* |
| 20 |
* @link https://tools.ietf.org/html/rfc4122 RFC 4122 |
| 21 |
* |
| 22 |
* @psalm-immutable |
| 23 |
*/ |
| 24 |
interface UuidInterface extends BaseUuidInterface |
| 25 |
{ |
| 26 |
/** |
| 27 |
* Returns the string standard representation of the UUID as a URN |
| 28 |
* |
| 29 |
* @link http://en.wikipedia.org/wiki/Uniform_Resource_Name Uniform Resource Name |
| 30 |
* @link https://tools.ietf.org/html/rfc4122#section-3 RFC 4122, ยง 3: Namespace Registration Template |
| 31 |
*/ |
| 32 |
public function getUrn(): string; |
| 33 |
} |
| 34 |
|