%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/vendor/kreait/clock/src/Clock/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/vendor/kreait/clock/src/Clock/FrozenClock.php

<?php

declare(strict_types=1);

namespace Kreait\Clock;

use DateTimeImmutable;
use Kreait\Clock;

final class FrozenClock implements Clock
{
    /** @var DateTimeImmutable */
    private $now;

    public function __construct(DateTimeImmutable $now)
    {
        $this->now = $now;
    }

    public function setTo(DateTimeImmutable $now)
    {
        $this->now = $now;
    }

    public function now(): DateTimeImmutable
    {
        return $this->now;
    }
}

Zerion Mini Shell 1.0