ManufacturerReadServiceInterface
in
Interface ManufacturerReadServiceInterface
Tags
Table of Contents
- getAll() : ManufacturerCollection
- Returns manufacturer entities as collection.
- getById() : ManufacturerInterface
- Returns manufacturer entity by given id.
- search() : ManufacturerCollection
- Searches for manufacturer entities that respects the given search condition and returns their data as a collection.
Methods
getAll()
Returns manufacturer entities as collection.
public
getAll() : ManufacturerCollection
Return values
ManufacturerCollection —getById()
Returns manufacturer entity by given id.
public
getById(IdType $manufacturerId) : ManufacturerInterface
Parameters
- $manufacturerId : IdType
Tags
Return values
ManufacturerInterface —search()
Searches for manufacturer entities that respects the given search condition and returns their data as a collection.
public
search(ManufacturerSearchCondition $searchCondition[, Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : ManufacturerCollection
Parameters
- $searchCondition : ManufacturerSearchCondition
- $pager : Pager|null = null
-
(Optional) Pager object with pagination information
- $sorters : array<string|int, mixed> = []
-
(Optional) array of Sorter objects with data sorting information
Return values
ManufacturerCollection —Manufacturer collection.