PHP 8.3.31
Preview: DeprecatedUuidInterface.php Size: 5.04 KB
/home/getspomw/royalsquad.us/vendor/ramsey/uuid/src/DeprecatedUuidInterface.php

<?php

/**
 * This file is part of the ramsey/uuid library
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com>
 * @license http://opensource.org/licenses/MIT MIT
 */

declare(strict_types=1);

namespace Ramsey\Uuid;

use DateTimeInterface;
use Ramsey\Uuid\Converter\NumberConverterInterface;

/**
 * This interface encapsulates deprecated methods for ramsey/uuid
 *
 * @psalm-immutable
 */
interface DeprecatedUuidInterface
{
    /**
     * @deprecated This method will be removed in 5.0.0. There is no alternative
     *     recommendation, so plan accordingly.
     */
    public function getNumberConverter(): NumberConverterInterface;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance.
     *
     * @return string[]
     */
    public function getFieldsHex(): array;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()}.
     */
    public function getClockSeqHiAndReservedHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()}.
     */
    public function getClockSeqLowHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()}.
     */
    public function getClockSequenceHex(): string;

    /**
     * @deprecated In ramsey/uuid version 5.0.0, this will be removed from the
     *     interface. It is available at {@see UuidV1::getDateTime()}.
     */
    public function getDateTime(): DateTimeInterface;

    /**
     * @deprecated This method will be removed in 5.0.0. There is no direct
     *     alternative, but the same information may be obtained by splitting
     *     in half the value returned by {@see UuidInterface::getHex()}.
     */
    public function getLeastSignificantBitsHex(): string;

    /**
     * @deprecated This method will be removed in 5.0.0. There is no direct
     *     alternative, but the same information may be obtained by splitting
     *     in half the value returned by {@see UuidInterface::getHex()}.
     */
    public function getMostSignificantBitsHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()}.
     */
    public function getNodeHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()}.
     */
    public function getTimeHiAndVersionHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()}.
     */
    public function getTimeLowHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()}.
     */
    public function getTimeMidHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()}.
     */
    public function getTimestampHex(): string;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVariant()}.
     */
    public function getVariant(): ?int;

    /**
     * @deprecated Use {@see UuidInterface::getFields()} to get a
     *     {@see FieldsInterface} instance. If it is a
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
     *     {@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVersion()}.
     */
    public function getVersion(): ?int;
}

Directory Contents

Dirs: 14 × Files: 10

Name Size Perms Modified Actions
Builder DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Codec DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Converter DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Exception DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Fields DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Generator DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Guid DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Lazy DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Math DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Provider DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Rfc4122 DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Type DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
Validator DIR
- drwxrwxrwx 2025-09-17 06:53:32
Edit Download
1.70 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
566 B lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
5.04 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
13.38 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
12.19 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
5.03 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
25.49 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
15.47 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
5.97 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download
3.01 KB lrw-rw-rw- 2025-09-17 06:53:32
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).