Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | namespace App\CollectionManagement\Domain\Port\Driven; |
| 4 | |
| 5 | use App\CollectionManagement\Domain\Model\Local\Set; |
| 6 | use App\CollectionManagement\Domain\Model\SetCollection; |
| 7 | |
| 8 | /** |
| 9 | * @author W.Zwertvaegher |
| 10 | */ |
| 11 | interface LocalSetRepository |
| 12 | { |
| 13 | /** |
| 14 | * @param Set $localSet |
| 15 | * @return void |
| 16 | */ |
| 17 | public function add(Set $localSet): void; |
| 18 | |
| 19 | /** |
| 20 | * @param Set $localSet |
| 21 | * @return void |
| 22 | */ |
| 23 | public function update(Set $localSet): void; |
| 24 | |
| 25 | /** |
| 26 | * @param string $userId |
| 27 | * @param list<string> $externalIds |
| 28 | * @return SetCollection |
| 29 | */ |
| 30 | public function findByUserAndExternalIds(string $userId, array $externalIds): SetCollection; |
| 31 | |
| 32 | } |