phpDocumentor

ParcelServiceReadService
in package
implements ParcelServiceReadServiceInterface

Class ParcelServiceReadService

Interfaces, Classes and Traits

ParcelServiceReadServiceInterface
Interface ParcelServiceReadService

Table of Contents

$repository  : ParcelServiceRepositoryInterface
__construct()  : mixed
ParcelServiceReadService constructor.
getAll()  : ParcelServiceCollection
Returns a limited collection of parcel services.
getBy()  : ParcelServiceCollection
Returns a collection of parcel services found be the given limited search condition.
getById()  : ParcelServiceInterface
Returns a parcel service identified by its ID.

Properties

Methods

getAll()

Returns a limited collection of parcel services.

public getAll([Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : ParcelServiceCollection
Parameters
$pager : Pager|null = null

(Optional) Pager object with pagination information

$sorters : array<string|int, mixed> = []

(Optional) array of Sorter objects with data sorting information

Tags
throws
ParcelServiceCollectionNotFoundException
Return values
ParcelServiceCollection

getBy()

Returns a collection of parcel services found be the given limited search condition.

public getBy(ParcelServiceSearchCondition $searchCondition[, Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : ParcelServiceCollection
Parameters
$searchCondition : ParcelServiceSearchCondition
$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
ParcelServiceCollection

Search results