TrackingCodeContentService
in package
Class TrackingCodeContentService
Table of Contents
Properties
- $em : EntityManagerInterface
Methods
- __construct() : mixed
- add() : int
- Add new tracking code content
- getColisOrPalletInfos() : mixed
- getRepo() : TrackingCodeContentRepository
- getTrackingCodeContentDateAndCarrier() : array<string|int, mixed>
- save() : TrackingCodeContent
- fetchMatchingResults() : mixed
- fetchMatchingResultsByAsirMenzzoPalette() : mixed
- fetchMatchingResultsByMenzzoPalette() : mixed
- fetchMatchingResultsBySaleProductId() : mixed
- getProductInformationsById() : mixed
Properties
$em
protected
EntityManagerInterface
$em
Methods
__construct()
public
__construct(EntityManagerInterface $entityManager) : mixed
Parameters
- $entityManager : EntityManagerInterface
add()
Add new tracking code content
public
add(mixed $code, mixed $content[, mixed $contentJson = null ]) : int
Parameters
- $code : mixed
- $content : mixed
- $contentJson : mixed = null
Return values
intgetColisOrPalletInfos()
public
getColisOrPalletInfos(mixed $code) : mixed
Parameters
- $code : mixed
getRepo()
public
getRepo() : TrackingCodeContentRepository
Return values
TrackingCodeContentRepositorygetTrackingCodeContentDateAndCarrier()
public
getTrackingCodeContentDateAndCarrier([string $saleProductId = null ]) : array<string|int, mixed>
Parameters
- $saleProductId : string = null
Return values
array<string|int, mixed>save()
public
save(TrackingCodeContent $trackingCodeContent) : TrackingCodeContent
Parameters
- $trackingCodeContent : TrackingCodeContent
Return values
TrackingCodeContentfetchMatchingResults()
private
fetchMatchingResults(mixed $stmt, mixed $colisData) : mixed
Parameters
- $stmt : mixed
- $colisData : mixed
fetchMatchingResultsByAsirMenzzoPalette()
private
fetchMatchingResultsByAsirMenzzoPalette(mixed $data) : mixed
Parameters
- $data : mixed
fetchMatchingResultsByMenzzoPalette()
private
fetchMatchingResultsByMenzzoPalette(mixed $data) : mixed
Parameters
- $data : mixed
fetchMatchingResultsBySaleProductId()
private
fetchMatchingResultsBySaleProductId(mixed $data) : mixed
Parameters
- $data : mixed
getProductInformationsById()
private
getProductInformationsById([int $product_id = null ]) : mixed
Parameters
- $product_id : int = null