13 lines
246 B
PHP
13 lines
246 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Lubian\NoFramework\Service\Time;
|
|
|
|
use DateTimeImmutable;
|
|
|
|
final class SystemClockNow implements Now
|
|
{
|
|
public function __invoke(): DateTimeImmutable
|
|
{
|
|
return new DateTimeImmutable;
|
|
}
|
|
}
|