Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| RequestStatusEntry | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace LambdaTwelve\OneRecord\Api; |
| 6 | |
| 7 | use DateTimeImmutable; |
| 8 | use LambdaTwelve\OneRecord\Rdf\Iri; |
| 9 | |
| 10 | /** |
| 11 | * api:RequestStatusEntry (2.3): a status an action request used to have, from |
| 12 | * when, and who moved it on. |
| 13 | */ |
| 14 | final readonly class RequestStatusEntry |
| 15 | { |
| 16 | public function __construct( |
| 17 | public RequestStatus $status, |
| 18 | public DateTimeImmutable $since, |
| 19 | public ?Iri $changedBy = null, |
| 20 | ) {} |
| 21 | } |