Debian Codegraph @

vendor/ramsey/uuid/src/Provider/NodeProviderInterface.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\Provider;
16
17 use Ramsey\Uuid\Type\Hexadecimal;
18
19 /**
20 * A node provider retrieves or generates a node ID
21 */
22 interface NodeProviderInterface
23 {
24 /**
25 * Returns a node ID
26 *
27 * @return Hexadecimal The node ID as a hexadecimal string
28 */
29 public function getNode(): Hexadecimal;
30 }