Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| LogisticsObjectRevised | |
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\Server\Event; |
| 6 | |
| 7 | use LambdaTwelve\OneRecord\Rdf\Iri; |
| 8 | use LambdaTwelve\OneRecord\Server\Spi\StoredObject; |
| 9 | |
| 10 | /** |
| 11 | * An accepted change produced a new revision. |
| 12 | * |
| 13 | * @param list<string> $changedProperties property IRIs changed on the object itself |
| 14 | */ |
| 15 | final readonly class LogisticsObjectRevised |
| 16 | { |
| 17 | /** |
| 18 | * @param list<string> $changedProperties |
| 19 | */ |
| 20 | public function __construct( |
| 21 | public StoredObject $stored, |
| 22 | public Iri $changeRequest, |
| 23 | public array $changedProperties, |
| 24 | ) {} |
| 25 | } |