phpDocumentor

ManufacturerReadService
in package
implements ManufacturerReadServiceInterface

Class ManufacturerReadService

Tags
category

System

Interfaces, Classes and Traits

ManufacturerReadServiceInterface
Interface ManufacturerReadServiceInterface

Table of Contents

$repository  : ManufacturerRepositoryInterface
__construct()  : mixed
ManufacturerReadService constructor.
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.

Properties

Methods

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.

Search results