PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
media-cloud-sync / includes / sdk / google / ramsey / uuid / src / DeprecatedUuidInterface.php

DeprecatedUuidInterface.php in Media Cloud Sync 1.4.1, at includes/sdk/google/ramsey/uuid/src/DeprecatedUuidInterface.php

110 lines 4.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 declare (strict_types=1);
13 namespace Dudlewebs\WPMCS\GCP\Ramsey\Uuid;
14
15 use DateTimeInterface;
16 use Dudlewebs\WPMCS\GCP\Ramsey\Uuid\Converter\NumberConverterInterface;
17 /**
18 * This interface encapsulates deprecated methods for ramsey/uuid
19 *
20 * @immutable
21 */
22 interface DeprecatedUuidInterface
23 {
24 /**
25 * @deprecated This method will be removed in 5.0.0. There is no alternative recommendation, so plan accordingly.
26 */
27 public function getNumberConverter() : NumberConverterInterface;
28 /**
29 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance.
30 *
31 * @return string[]
32 */
33 public function getFieldsHex() : array;
34 /**
35 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
36 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
37 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()}.
38 */
39 public function getClockSeqHiAndReservedHex() : string;
40 /**
41 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
42 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
43 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()}.
44 */
45 public function getClockSeqLowHex() : string;
46 /**
47 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
48 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
49 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()}.
50 */
51 public function getClockSequenceHex() : string;
52 /**
53 * @deprecated In ramsey/uuid version 5.0.0, this will be removed from the interface. It is available at
54 * {@see UuidV1::getDateTime()}.
55 */
56 public function getDateTime() : DateTimeInterface;
57 /**
58 * @deprecated This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
59 * obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
60 */
61 public function getLeastSignificantBitsHex() : string;
62 /**
63 * @deprecated This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
64 * obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
65 */
66 public function getMostSignificantBitsHex() : string;
67 /**
68 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
69 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
70 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()}.
71 */
72 public function getNodeHex() : string;
73 /**
74 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
75 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
76 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()}.
77 */
78 public function getTimeHiAndVersionHex() : string;
79 /**
80 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
81 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
82 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()}.
83 */
84 public function getTimeLowHex() : string;
85 /**
86 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
87 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
88 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()}.
89 */
90 public function getTimeMidHex() : string;
91 /**
92 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
93 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
94 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()}.
95 */
96 public function getTimestampHex() : string;
97 /**
98 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
99 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
100 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVariant()}.
101 */
102 public function getVariant() : ?int;
103 /**
104 * @deprecated Use {@see UuidInterface::getFields()} to get a {@see FieldsInterface} instance. If it is a
105 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
106 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVersion()}.
107 */
108 public function getVersion() : ?int;
109 }
110