ManufacturerReaderInterface
in
Interface ManufacturerReaderInterface
Tags
Table of Contents
- getAll() : array<string|int, mixed>
- Returns all manufacturer entities data as array.
- getById() : array<string|int, mixed>
- Returns manufacturer entity data by the given id.
- search() : array<string|int, mixed>
- Searches for manufacturer entities that respects the given search condition and returns their data as an array.
Methods
getAll()
Returns all manufacturer entities data as array.
public
getAll() : array<string|int, mixed>
Return values
array<string|int, mixed> —getById()
Returns manufacturer entity data by the given id.
public
getById(IdType $manufacturerId) : array<string|int, mixed>
Parameters
- $manufacturerId : IdType
Tags
Return values
array<string|int, mixed> —search()
Searches for manufacturer entities that respects the given search condition and returns their data as an array.
public
search(ManufacturerSearchCondition $searchCondition[, Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : array<string|int, mixed>
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