Debian Codegraph @

vendor/ramsey/uuid/src/Provider/DceSecurityProviderInterface.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\Rfc4122\UuidV2;
18 use Ramsey\Uuid\Type\Integer as IntegerObject;
19
20 /**
21 * A DCE provider provides access to local domain identifiers for version 2, DCE Security, UUIDs
22 *
23 * @see UuidV2
24 */
25 interface DceSecurityProviderInterface
26 {
27 /**
28 * Returns a user identifier for the system
29 *
30 * @link https://en.wikipedia.org/wiki/User_identifier User identifier
31 */
32 public function getUid(): IntegerObject;
33
34 /**
35 * Returns a group identifier for the system
36 *
37 * @link https://en.wikipedia.org/wiki/Group_identifier Group identifier
38 */
39 public function getGid(): IntegerObject;
40 }