Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Contracts\Registry; | |
| 6 | ||
| 7 | use Stewart\Contracts\Entity\EntityId; | |
| 8 | use Stewart\Contracts\Exception\IdentifierException; | |
| 9 | use Stewart\Contracts\Exception\RegistryEditException; | |
| 10 | use Stewart\Contracts\Registry\Update\EntityRegistryUpdate; | |
| 11 | ||
| 12 | interface RegistryEditor | |
| 13 | { | |
| 14 | /** @throws RegistryEditException|IdentifierException */ | |
| 15 | public function updateEntity(EntityId|string $entityId, EntityRegistryUpdate $update): RegisteredEntity; | |
| 16 | } |