LoggerService
Table of Contents
Properties
-
$auth
: AuthComponent
-
$config
: Config
-
$em
: EntityManager
-
$logger
: Logger
Methods
-
__construct()
: mixed
-
array_diff_assoc_recursive()
: array<string|int, mixed>
-
checkIfEntityGetsModified()
: bool
-
getActorArray()
: array<string|int, mixed>
-
log()
: ResponseInterface
-
logAmazonProductChange()
: mixed
-
logAmazonProductImport()
: mixed
-
logBillingDetailsChange()
: ResponseInterface|null
-
logCompanySettingsChange()
: ResponseInterface|null
-
logEntryCancelReturnPaid()
: mixed
-
logEntryChange()
: ResponseInterface|null
-
logEntryChangeByEntryId()
: ResponseInterface|null
-
logEntryCreatePreliminaryReport()
: mixed
-
logEntryIdCancelReturnPaid()
: mixed
-
logEntryIdQualityControlDoneCrateVersion()
: mixed
-
logEntryIdReturnPaid()
: mixed
-
logEntryIdReturnSubmitted()
: mixed
-
logEntryQualityControlDoneCrateVersion()
: mixed
-
logEntryQualityControlOff()
: mixed
-
logEntryRefreshPreliminaryReport()
: mixed
-
logEntryReturnPaid()
: mixed
-
logEntryReturnSubmitted()
: mixed
-
logManualOrderDelete()
: mixed
-
logManualOrderImport()
: mixed
-
logOfferChange()
: ResponseInterface|null
-
logOrderChange()
: ResponseInterface|null
-
logOtherIntegrationOrderImport()
: mixed
-
logPaymentDetailsChange()
: ResponseInterface|null
-
logProviderIntegrationChange()
: ResponseInterface|null
-
logReportInboundSettingsChange()
: ResponseInterface|null
-
logReportIntentionChange()
: ResponseInterface|null
-
logShopifyOrderImport()
: mixed
-
logUserAccountChange()
: ResponseInterface|null
-
logUserBankingDetailSettingChange()
: ResponseInterface|null
-
logUserVatChange()
: ResponseInterface|null
-
getEntityTypeFromModuleAlias()
: mixed
-
getEventSource()
: string
$auth
private
AuthComponent
$auth
$config
private
Config
$config
$em
private
EntityManager
$em
$logger
private
Logger
$logger
__construct()
public
__construct() : mixed
array_diff_assoc_recursive()
public
array_diff_assoc_recursive(mixed $array1, mixed $array2) : array<string|int, mixed>
Parameters
-
$array1
: mixed
-
-
$array2
: mixed
-
Return values
array<string|int, mixed>
checkIfEntityGetsModified()
public
checkIfEntityGetsModified(mixed $old, mixed $new) : bool
Parameters
-
$old
: mixed
-
-
$new
: mixed
-
getActorArray()
public
getActorArray([mixed $userAccount = null ]) : array<string|int, mixed>
Parameters
-
$userAccount
: mixed
= null
-
Return values
array<string|int, mixed>
log()
public
log(string $eventType, string $eventSource, string $entityType, int $entityId, int $id, int $userId, array<string|int, mixed>|null $compositeId, array<string|int, mixed>|null $actor, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface
Parameters
-
$eventType
: string
-
-
$eventSource
: string
-
-
$entityType
: string
-
-
$entityId
: int
-
-
$id
: int
-
-
$userId
: int
-
-
$compositeId
: array<string|int, mixed>|null
-
-
$actor
: array<string|int, mixed>|null
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
-
throws
-
GuzzleException
Return values
ResponseInterface
logAmazonProductChange()
public
logAmazonProductChange(string $eventType, int $id, int $userId, string $asin, array<string|int, mixed> $old, array<string|int, mixed> $new) : mixed
Parameters
-
$eventType
: string
-
-
$id
: int
-
-
$userId
: int
-
-
$asin
: string
-
-
$old
: array<string|int, mixed>
-
-
$new
: array<string|int, mixed>
-
logAmazonProductImport()
public
logAmazonProductImport(int $userId, string $filePath) : mixed
Parameters
-
$userId
: int
-
-
$filePath
: string
-
logBillingDetailsChange()
public
logBillingDetailsChange(int $userId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$userId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logCompanySettingsChange()
public
logCompanySettingsChange(int $userId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$userId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logEntryCancelReturnPaid()
public
logEntryCancelReturnPaid(mixed $entry) : mixed
Parameters
-
$entry
: mixed
-
logEntryChange()
public
logEntryChange(string $eventType, Entry $entry, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new[, mixed $actorUserAccount = null ]) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$entry
: Entry
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
-
$actorUserAccount
: mixed
= null
-
Return values
ResponseInterface|null
logEntryChangeByEntryId()
public
logEntryChangeByEntryId(string $eventType, int $entryId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$entryId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logEntryCreatePreliminaryReport()
public
logEntryCreatePreliminaryReport(mixed $entry[, mixed $actorUserAccount = null ]) : mixed
Parameters
-
$entry
: mixed
-
-
$actorUserAccount
: mixed
= null
-
logEntryIdCancelReturnPaid()
public
logEntryIdCancelReturnPaid(mixed $entryId) : mixed
Parameters
-
$entryId
: mixed
-
logEntryIdQualityControlDoneCrateVersion()
public
logEntryIdQualityControlDoneCrateVersion(mixed $entryId) : mixed
Parameters
-
$entryId
: mixed
-
logEntryIdReturnPaid()
public
logEntryIdReturnPaid(mixed $entryId) : mixed
Parameters
-
$entryId
: mixed
-
logEntryIdReturnSubmitted()
public
logEntryIdReturnSubmitted(mixed $entryId) : mixed
Parameters
-
$entryId
: mixed
-
logEntryQualityControlDoneCrateVersion()
public
logEntryQualityControlDoneCrateVersion(mixed $entry[, mixed $actorUserAccount = null ]) : mixed
Parameters
-
$entry
: mixed
-
-
$actorUserAccount
: mixed
= null
-
logEntryQualityControlOff()
public
logEntryQualityControlOff(mixed $entryId) : mixed
Parameters
-
$entryId
: mixed
-
logEntryRefreshPreliminaryReport()
public
logEntryRefreshPreliminaryReport(mixed $entry[, mixed $actorUserAccount = null ]) : mixed
Parameters
-
$entry
: mixed
-
-
$actorUserAccount
: mixed
= null
-
logEntryReturnPaid()
public
logEntryReturnPaid(mixed $entry) : mixed
Parameters
-
$entry
: mixed
-
logEntryReturnSubmitted()
public
logEntryReturnSubmitted(mixed $entry, DateTime $submitDate) : mixed
Parameters
-
$entry
: mixed
-
-
$submitDate
: DateTime
-
logManualOrderDelete()
public
logManualOrderDelete(int $userId, int $reportId) : mixed
Parameters
-
$userId
: int
-
-
$reportId
: int
-
logManualOrderImport()
public
logManualOrderImport(int $userId, int $reportId, string $filePath) : mixed
Parameters
-
$userId
: int
-
-
$reportId
: int
-
-
$filePath
: string
-
logOfferChange()
public
logOfferChange(string $eventType, int $userId, int $offerId, string $hash, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$userId
: int
-
-
$offerId
: int
-
-
$hash
: string
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logOrderChange()
public
logOrderChange(string $eventType, int $userId, int $orderId, mixed $invoiceId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$userId
: int
-
-
$orderId
: int
-
-
$invoiceId
: mixed
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logOtherIntegrationOrderImport()
public
logOtherIntegrationOrderImport(int $userId, string $filePath) : mixed
Parameters
-
$userId
: int
-
-
$filePath
: string
-
logPaymentDetailsChange()
public
logPaymentDetailsChange(string $eventType, int $userId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$userId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logProviderIntegrationChange()
public
logProviderIntegrationChange(string $eventType, int $userId, int $userModuleId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new, string $moduleAlias) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$userId
: int
-
-
$userModuleId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
-
$moduleAlias
: string
-
Return values
ResponseInterface|null
logReportInboundSettingsChange()
public
logReportInboundSettingsChange(int $userId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$userId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logReportIntentionChange()
public
logReportIntentionChange(string $eventType, ReportIntention $reportIntention, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$reportIntention
: ReportIntention
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
Return values
ResponseInterface|null
logShopifyOrderImport()
public
logShopifyOrderImport(int $userId, string $filePath) : mixed
Parameters
-
$userId
: int
-
-
$filePath
: string
-
logUserAccountChange()
public
logUserAccountChange(string $eventType, int $userAccountId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$userAccountId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
-
throws
-
GuzzleException
Return values
ResponseInterface|null
logUserBankingDetailSettingChange()
public
logUserBankingDetailSettingChange(string $eventType, BankingDetailSetting $bankingDetailSetting, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$bankingDetailSetting
: BankingDetailSetting
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
-
throws
-
GuzzleException
Return values
ResponseInterface|null
logUserVatChange()
public
logUserVatChange(string $eventType, int $userVatId, int $clientId, int $countryId, array<string|int, mixed>|null $old, array<string|int, mixed>|null $new) : ResponseInterface|null
Parameters
-
$eventType
: string
-
-
$userVatId
: int
-
-
$clientId
: int
-
-
$countryId
: int
-
-
$old
: array<string|int, mixed>|null
-
-
$new
: array<string|int, mixed>|null
-
-
throws
-
GuzzleException
Return values
ResponseInterface|null
getEntityTypeFromModuleAlias()
private
getEntityTypeFromModuleAlias(string $moduleAlias) : mixed
Parameters
-
$moduleAlias
: string
-
getEventSource()
private
getEventSource() : string