JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "UsesTime.php"

Full Path: /var/www/lionsclub/core/vendor/facade/flare-client-php/src/Concerns/UsesTime.php
File size: 446 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Facade\FlareClient\Concerns;

use Facade\FlareClient\Time\SystemTime;
use Facade\FlareClient\Time\Time;

trait UsesTime
{
    /** @var \Facade\FlareClient\Time\Time */
    public static $time;

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

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

        return $time->getCurrentTime();
    }
}