spqr/vendor/psr/clock/src/ClockInterface.php

14 lines
206 B
PHP
Raw Permalink Normal View History

2024-11-05 12:10:06 +08:00
<?php
namespace Psr\Clock;
use DateTimeImmutable;
interface ClockInterface
{
/**
* Returns the current time as a DateTimeImmutable Object
*/
public function now(): DateTimeImmutable;
}