add solutions for chapter 10
This commit is contained in:
parent
f54c576441
commit
b139a9dcc3
18 changed files with 1872 additions and 0 deletions
10
implementation/10/src/Service/Time/Clock.php
Normal file
10
implementation/10/src/Service/Time/Clock.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Lubian\NoFramework\Service\Time;
|
||||
|
||||
use DateTimeImmutable;
|
||||
|
||||
interface Clock
|
||||
{
|
||||
public function now(): DateTimeImmutable;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue