Debian Codegraph @

vendor/ramsey/uuid/src/Fields/FieldsInterface.php

raw
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
13 declare(strict_types=1);
14
15 namespace Ramsey\Uuid\Fields;
16
17 use Serializable;
18
19 /**
20 * UUIDs consist of unsigned integers, the bytes of which are separated into fields and arranged in a particular layout
21 * defined by the specification for the variant
22 *
23 * @immutable
24 */
25 interface FieldsInterface extends Serializable
26 {
27 /**
28 * Returns the bytes that comprise the fields
29 *
30 * @pure
31 */
32 public function getBytes(): string;
33 }