Add lookup by order master to collection reference repository

This commit is contained in:
Benoît Burnichon
2016-02-25 19:38:57 +01:00
parent 51519ce4a2
commit 2b5557ac7c
4 changed files with 42 additions and 2 deletions

View File

@@ -36,6 +36,14 @@ interface CollectionReferenceRepository
*/
public function findByCollectionId($databoxId, $collectionId);
/**
* Find Collection references having at least one Order Master
*
* @param array<int>|null $subset Restrict search to a subset of base ids.
* @return CollectionReference[]
*/
public function findHavingOrderMaster(array $subset = null);
/**
* @param CollectionReference $reference
* @return void