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
3declare(strict_types=1);
4
5namespace Stewart\Contracts\Registry;
6
7use Stewart\Contracts\Entity\EntityId;
8use Stewart\Contracts\Exception\IdentifierException;
9use Stewart\Contracts\Exception\RegistryEditException;
10use Stewart\Contracts\Registry\Update\EntityRegistryUpdate;
11
12interface RegistryEditor
13{
14    /** @throws RegistryEditException|IdentifierException */
15    public function updateEntity(EntityId|string $entityId, EntityRegistryUpdate $update): RegisteredEntity;
16}