ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/updates/vendor/spatie/flare-client-php/src/Concerns/
Upload File :
Current File : /home2/selectio/www/limpiar.in.net/updates/vendor/spatie/flare-client-php/src/Concerns/UsesTime.php

<?php

namespace Spatie\FlareClient\Concerns;

use Spatie\FlareClient\Time\SystemTime;
use Spatie\FlareClient\Time\Time;

trait UsesTime
{
    public static Time $time;

    public static function useTime(Time $time): void
    {
        self::$time = $time;
    }

    public function getCurrentTime(): int
    {
        $time = self::$time ?? new SystemTime();

        return $time->getCurrentTime();
    }
}

Zerion Mini Shell 1.0