phpDocumentor

ParcelServiceRepository extends AbstractEventDispatchingRepository implements ParcelServiceRepository

Class ParcelServiceRepository

Interfaces, Classes and Traits

ParcelServiceRepository
Interface ParcelServiceRepository

Table of Contents

$eventDispatcher  : EventDispatcherInterface
$mapper  : ParcelServiceMapper
$reader  : ParcelServiceReader
$writer  : ParcelServiceWriter
__construct()  : mixed
ParcelServiceRepository constructor.
createMultipleParcelServices()  : ParcelServiceIds
Creates multiple parcel services and returns their IDs.
createParcelService()  : ParcelServiceId
Creates a new parcel service and returns its ID.
deleteParcelServices()  : void
Deletes parcel services based on the given IDs.
dispatchEntityEvents()  : void
dispatchEvent()  : void
filterParcelServices()  : ParcelServices
Returns a filtered and paginated collection of parcel services based on the given filter and sorting arguments.
getAllParcelServices()  : ParcelServices
Returns all available parcel services.
getParcelServiceById()  : ParcelService
Returns a specific parcel service based on the given ID.
getParcelServicesTotalCount()  : int
Returns total count of parcel services based on the given filter arguments.
storeParcelServices()  : void
Stores multiple parcel services.
setEventDispatcher()  : void

Properties

Methods

createMultipleParcelServices()

Creates multiple parcel services and returns their IDs.

public createMultipleParcelServices(array<string|int, mixed> ...$creationArguments) : ParcelServiceIds
Parameters
$creationArguments : array<string|int, mixed>

Provided array must contain arguments like they are used in the single creation method. Provide multiple arrays for multi creation.

Tags
inheritDoc
Return values
ParcelServiceIds

getParcelServicesTotalCount()

Returns total count of parcel services based on the given filter arguments.

public getParcelServicesTotalCount(Filters $filters) : int
Parameters
$filters : Filters
Tags
inheritDoc
Return values
int

setEventDispatcher()

protected setEventDispatcher(EventDispatcherInterface $eventDispatcher) : void
Parameters
$eventDispatcher : EventDispatcherInterface
Return values
void

Search results