X

Create New Item

File Folder

X

Search Results

File "Expirable.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/kreait/firebase-tokens/src/JWT/Contract/Expirable.php
File size: 333 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

declare(strict_types=1);

namespace Kreait\Firebase\JWT\Contract;

use DateTimeImmutable;
use DateTimeInterface;

interface Expirable
{
    public function withExpirationTime(DateTimeImmutable $time): self;

    public function isExpiredAt(DateTimeInterface $now): bool;

    public function expiresAt(): DateTimeImmutable;
}