CoreFiles by mySites.guru
InternalClock.php19 lines, 296 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
4ecf0fbc3a660bbd02f129cd1534a1c1
sha1
cdb77a8c4a5743d8a9991495e381e994ee2f675b
sha256
ccfcfd38431083589b0441a14e1129419162c083f90867a46ce9e5eec03f43b2
<?php

declare(strict_types=1);

namespace Jose\Component\Checker;

use DateTimeImmutable;
use Psr\Clock\ClockInterface;

/**
 * @internal
 */
final class InternalClock implements ClockInterface
{
    public function now(): DateTimeImmutable
    {
        return new DateTimeImmutable();
    }
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.