googleanalytics
/
lib
/
analytics-admin
/
vendor
/
ramsey
/
uuid
/
src
/
Rfc4122
/
UuidInterface.php
Fields.php
3 years ago
FieldsInterface.php
3 years ago
NilTrait.php
3 years ago
NilUuid.php
3 years ago
UuidBuilder.php
3 years ago
UuidInterface.php
3 years ago
UuidV1.php
3 years ago
UuidV2.php
3 years ago
UuidV3.php
3 years ago
UuidV4.php
3 years ago
UuidV5.php
3 years ago
Validator.php
3 years ago
VariantTrait.php
3 years ago
VersionTrait.php
3 years ago
UuidInterface.php
37 lines
| 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 <ben@benramsey.com> |
| 10 | * @license http://opensource.org/licenses/MIT MIT |
| 11 | */ |
| 12 | |
| 13 | declare(strict_types=1); |
| 14 | |
| 15 | namespace Ramsey\Uuid\Rfc4122; |
| 16 | |
| 17 | use Ramsey\Uuid\UuidInterface as BaseUuidInterface; |
| 18 | |
| 19 | /** |
| 20 | * Also known as a Leach-Salz variant UUID, an RFC 4122 variant UUID is a |
| 21 | * universally unique identifier defined by RFC 4122 |
| 22 | * |
| 23 | * @link https://tools.ietf.org/html/rfc4122 RFC 4122 |
| 24 | * |
| 25 | * @psalm-immutable |
| 26 | */ |
| 27 | interface UuidInterface extends BaseUuidInterface |
| 28 | { |
| 29 | /** |
| 30 | * Returns the string standard representation of the UUID as a URN |
| 31 | * |
| 32 | * @link http://en.wikipedia.org/wiki/Uniform_Resource_Name Uniform Resource Name |
| 33 | * @link https://tools.ietf.org/html/rfc4122#section-3 RFC 4122, § 3: Namespace Registration Template |
| 34 | */ |
| 35 | public function getUrn(): string; |
| 36 | } |
| 37 |