mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-25 20:29:10 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -42,6 +42,7 @@ interface CodecInterface
|
||||
*
|
||||
* @param string $encodedUuid
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
*/
|
||||
public function decode($encodedUuid);
|
||||
|
||||
@@ -50,6 +51,8 @@ interface CodecInterface
|
||||
*
|
||||
* @param string $bytes
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
* @throws \InvalidArgumentException if string has not 16 characters
|
||||
*/
|
||||
public function decodeBytes($bytes);
|
||||
}
|
||||
|
||||
@@ -60,6 +60,7 @@ class GuidStringCodec extends StringCodec
|
||||
*
|
||||
* @param string $encodedUuid
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
*/
|
||||
public function decode($encodedUuid)
|
||||
{
|
||||
@@ -75,6 +76,7 @@ class GuidStringCodec extends StringCodec
|
||||
*
|
||||
* @param string $bytes
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
*/
|
||||
public function decodeBytes($bytes)
|
||||
{
|
||||
|
||||
@@ -50,6 +50,7 @@ class OrderedTimeCodec extends StringCodec
|
||||
*
|
||||
* @param string $bytes
|
||||
* @return UuidInterface
|
||||
* @throws \InvalidArgumentException if string has not 16 characters
|
||||
*/
|
||||
public function decodeBytes($bytes)
|
||||
{
|
||||
|
||||
3
vendor/ramsey/uuid/src/Codec/StringCodec.php
vendored
3
vendor/ramsey/uuid/src/Codec/StringCodec.php
vendored
@@ -74,6 +74,7 @@ class StringCodec implements CodecInterface
|
||||
*
|
||||
* @param string $encodedUuid
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
*/
|
||||
public function decode($encodedUuid)
|
||||
{
|
||||
@@ -88,6 +89,7 @@ class StringCodec implements CodecInterface
|
||||
*
|
||||
* @param string $bytes
|
||||
* @return UuidInterface
|
||||
* @throws \InvalidArgumentException if string has not 16 characters
|
||||
*/
|
||||
public function decodeBytes($bytes)
|
||||
{
|
||||
@@ -115,6 +117,7 @@ class StringCodec implements CodecInterface
|
||||
*
|
||||
* @param string $encodedUuid
|
||||
* @return array
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
*/
|
||||
protected function extractComponents($encodedUuid)
|
||||
{
|
||||
|
||||
@@ -60,6 +60,7 @@ class TimestampFirstCombCodec extends StringCodec
|
||||
* @param string $encodedUuid
|
||||
*
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
*/
|
||||
public function decode($encodedUuid)
|
||||
{
|
||||
@@ -76,6 +77,7 @@ class TimestampFirstCombCodec extends StringCodec
|
||||
* @param string $bytes
|
||||
*
|
||||
* @return UuidInterface
|
||||
* @throws \Ramsey\Uuid\Exception\InvalidUuidStringException
|
||||
*/
|
||||
public function decodeBytes($bytes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user