PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.2.1
ShareThis Dashboard for Google Analytics v3.2.1
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / ramsey / uuid / src / DeprecatedUuidInterface.php
googleanalytics / lib / analytics-admin / vendor / ramsey / uuid / src Last commit date
Builder 3 years ago Codec 3 years ago Converter 3 years ago Exception 3 years ago Fields 3 years ago Generator 3 years ago Guid 3 years ago Lazy 3 years ago Math 3 years ago Nonstandard 3 years ago Provider 3 years ago Rfc4122 3 years ago Type 3 years ago Validator 3 years ago BinaryUtils.php 3 years ago DegradedUuid.php 3 years ago DeprecatedUuidInterface.php 3 years ago DeprecatedUuidMethodsTrait.php 3 years ago FeatureSet.php 3 years ago Uuid.php 3 years ago UuidFactory.php 3 years ago UuidFactoryInterface.php 3 years ago UuidInterface.php 3 years ago functions.php 3 years ago
DeprecatedUuidInterface.php
148 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;
16
17 use DateTimeInterface;
18 use Ramsey\Uuid\Converter\NumberConverterInterface;
19
20 /**
21 * This interface encapsulates deprecated methods for ramsey/uuid; this
22 * interface and its methods will be removed in ramsey/uuid 5.0.0.
23 *
24 * @psalm-immutable
25 */
26 interface DeprecatedUuidInterface
27 {
28 /**
29 * @deprecated This method will be removed in 5.0.0. There is no alternative
30 * recommendation, so plan accordingly.
31 */
32 public function getNumberConverter(): NumberConverterInterface;
33
34 /**
35 * @deprecated Use {@see UuidInterface::getFields()} to get a
36 * {@see FieldsInterface} instance.
37 *
38 * @return string[]
39 */
40 public function getFieldsHex(): array;
41
42 /**
43 * @deprecated Use {@see UuidInterface::getFields()} to get a
44 * {@see FieldsInterface} instance. If it is a
45 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
46 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()}.
47 */
48 public function getClockSeqHiAndReservedHex(): string;
49
50 /**
51 * @deprecated Use {@see UuidInterface::getFields()} to get a
52 * {@see FieldsInterface} instance. If it is a
53 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
54 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()}.
55 */
56 public function getClockSeqLowHex(): string;
57
58 /**
59 * @deprecated Use {@see UuidInterface::getFields()} to get a
60 * {@see FieldsInterface} instance. If it is a
61 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
62 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()}.
63 */
64 public function getClockSequenceHex(): string;
65
66 /**
67 * @deprecated In ramsey/uuid version 5.0.0, this will be removed from the
68 * interface. It is available at {@see UuidV1::getDateTime()}.
69 */
70 public function getDateTime(): DateTimeInterface;
71
72 /**
73 * @deprecated This method will be removed in 5.0.0. There is no direct
74 * alternative, but the same information may be obtained by splitting
75 * in half the value returned by {@see UuidInterface::getHex()}.
76 */
77 public function getLeastSignificantBitsHex(): string;
78
79 /**
80 * @deprecated This method will be removed in 5.0.0. There is no direct
81 * alternative, but the same information may be obtained by splitting
82 * in half the value returned by {@see UuidInterface::getHex()}.
83 */
84 public function getMostSignificantBitsHex(): string;
85
86 /**
87 * @deprecated Use {@see UuidInterface::getFields()} to get a
88 * {@see FieldsInterface} instance. If it is a
89 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
90 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()}.
91 */
92 public function getNodeHex(): string;
93
94 /**
95 * @deprecated Use {@see UuidInterface::getFields()} to get a
96 * {@see FieldsInterface} instance. If it is a
97 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
98 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()}.
99 */
100 public function getTimeHiAndVersionHex(): string;
101
102 /**
103 * @deprecated Use {@see UuidInterface::getFields()} to get a
104 * {@see FieldsInterface} instance. If it is a
105 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
106 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()}.
107 */
108 public function getTimeLowHex(): string;
109
110 /**
111 * @deprecated Use {@see UuidInterface::getFields()} to get a
112 * {@see FieldsInterface} instance. If it is a
113 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
114 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()}.
115 */
116 public function getTimeMidHex(): string;
117
118 /**
119 * @deprecated Use {@see UuidInterface::getFields()} to get a
120 * {@see FieldsInterface} instance. If it is a
121 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
122 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()}.
123 */
124 public function getTimestampHex(): string;
125
126 /**
127 * @deprecated In ramsey/uuid version 5.0.0, this will be removed from this
128 * interface. It has moved to {@see \Ramsey\Uuid\Rfc4122\UuidInterface::getUrn()}.
129 */
130 public function getUrn(): string;
131
132 /**
133 * @deprecated Use {@see UuidInterface::getFields()} to get a
134 * {@see FieldsInterface} instance. If it is a
135 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
136 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVariant()}.
137 */
138 public function getVariant(): ?int;
139
140 /**
141 * @deprecated Use {@see UuidInterface::getFields()} to get a
142 * {@see FieldsInterface} instance. If it is a
143 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
144 * {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVersion()}.
145 */
146 public function getVersion(): ?int;
147 }
148