BoothItemRepository
in
Repository interface for BoothItem aggregates.
Table of Contents
Methods
- findByBoothId() : array<string|int, BoothItem>
- Find all booth items belonging to a specific booth.
- findById() : BoothItem|null
- Find a booth item by its identifier.
- save() : void
- Persist a BoothItem aggregate.
- searchByBoothItems() : BoothItemSearchresult
- Search for booth items by booth identifier.
- searchByCriteria() : BoothItemSearchresult
- Search booth items with booth/item filters (topics, query, pagination).
Methods
findByBoothId()
Find all booth items belonging to a specific booth.
public
findByBoothId(BoothId $boothId) : array<string|int, BoothItem>
Parameters
- $boothId : BoothId
Return values
array<string|int, BoothItem>findById()
Find a booth item by its identifier.
public
findById(BoothItemId $id) : BoothItem|null
Parameters
- $id : BoothItemId
Return values
BoothItem|nullsave()
Persist a BoothItem aggregate.
public
save(BoothItem $boothItem) : void
Parameters
- $boothItem : BoothItem
searchByBoothItems()
Search for booth items by booth identifier.
public
searchByBoothItems(BoothId $boothId) : BoothItemSearchresult
Parameters
- $boothId : BoothId
Return values
BoothItemSearchresultsearchByCriteria()
Search booth items with booth/item filters (topics, query, pagination).
public
searchByCriteria(BoothSearchCriteria $criteria[, array<string|int, BoothId> $limitToBoothIds = [] ]) : BoothItemSearchresult
Parameters
- $criteria : BoothSearchCriteria
- $limitToBoothIds : array<string|int, BoothId> = []