phpDocumentor

SpecialOfferReadServiceInterface
in

Interface SpecialOfferReadServiceInterface

Table of Contents

getAll()  : SpecialOfferCollection
Returns all special offers.
getBy()  : SpecialOfferCollection
Returns all special offers that matches the given search condition.
getById()  : SpecialOfferInterface
Returns a special offer by the given id.

Methods

getBy()

Returns all special offers that matches the given search condition.

public getBy(SpecialOfferSearchCondition $searchCondition[, Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : SpecialOfferCollection
Parameters
$searchCondition : SpecialOfferSearchCondition

Condition that must match for found items.

$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
SpecialOfferCollection

List of special offers by given conditions.

Search results