phpDocumentor

ManufacturerRepositoryInterface

Interface ManufacturerRepositoryInterface

Tags
category

System

subpackage

Repositories

Table of Contents

createManufacturer()  : Manufacturer
creates manufacturer entity.
delete()  : ManufacturerRepositoryInterface
Deletes manufacturer entity from database.
getAll()  : ManufacturerCollection
Returns all manufacturer as collection.
getById()  : ManufacturerInterface
Returns manufacturer entity by the given id.
save()  : ManufacturerRepositoryInterface
Saves manufacturer entity in database.
search()  : ManufacturerCollection
Searches for manufacturer entities that respects the given search condition and returns their data as a collection.

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