phpDocumentor

TrackingCodeRepository extends AbstractEventDispatchingRepository implements TrackingCodeRepository

Class TrackingCodeRepository

Interfaces, Classes and Traits

TrackingCodeRepository
Interface TrackingCodeRepository

Table of Contents

$eventDispatcher  : EventDispatcherInterface
$mapper  : TrackingCodeMapper
$reader  : TrackingCodeReader
$writer  : TrackingCodeWriter
__construct()  : mixed
TrackingCodeRepository constructor.
createMultipleTrackingCodes()  : TrackingCodeIds
Creates multiple tracking codes and returns their IDs.
createTrackingCode()  : TrackingCodeId
Creates a new tracking code and returns its ID.
deleteTrackingCodes()  : void
Deletes tracking codes based on the given IDs.
dispatchEntityEvents()  : void
dispatchEvent()  : void
filterTrackingCodes()  : TrackingCodes
Returns a filtered and paginated collection of tracking codes based on the given filter and sorting arguments.
getAllTrackingCodes()  : TrackingCodes
Returns all available tracking codes.
getTrackingCodeById()  : TrackingCode
Returns a specific tracking code by its ID.
getTrackingCodesByOrderId()  : TrackingCodes
Returns all tracking code, that belong to a specific order ID.
getTrackingCodesTotalCount()  : int
Returns total count of tracking codes based on the given filter arguments.
setEventDispatcher()  : void

Properties

Methods

createMultipleTrackingCodes()

Creates multiple tracking codes and returns their IDs.

public createMultipleTrackingCodes(array<string|int, mixed> ...$creationArguments) : TrackingCodeIds
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
TrackingCodeIds

getTrackingCodesTotalCount()

Returns total count of tracking codes based on the given filter arguments.

public getTrackingCodesTotalCount(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