googleanalytics
/
lib
/
analytics-admin
/
vendor
/
ramsey
/
uuid
/
src
/
Fields
/
FieldsInterface.php
FieldsInterface.php
33 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\Fields; |
| 16 | |
| 17 | use Serializable; |
| 18 | |
| 19 | /** |
| 20 | * UUIDs are comprised of unsigned integers, the bytes of which are separated |
| 21 | * into fields and arranged in a particular layout defined by the specification |
| 22 | * for the variant |
| 23 | * |
| 24 | * @psalm-immutable |
| 25 | */ |
| 26 | interface FieldsInterface extends Serializable |
| 27 | { |
| 28 | /** |
| 29 | * Returns the bytes that comprise the fields |
| 30 | */ |
| 31 | public function getBytes(): string; |
| 32 | } |
| 33 |