asdf
This commit is contained in:
parent
790ae18648
commit
40bd7df272
107 changed files with 8372 additions and 186 deletions
13
app/src/Service/Time/SystemClockNow.php
Normal file
13
app/src/Service/Time/SystemClockNow.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Lubian\NoFramework\Service\Time;
|
||||
|
||||
use DateTimeImmutable;
|
||||
|
||||
final class SystemClockNow implements Now
|
||||
{
|
||||
public function __invoke(): DateTimeImmutable
|
||||
{
|
||||
return new DateTimeImmutable;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue