AirLay backend

IssueLogService extends AirlayService
in package

Class IssueLogService

Table of Contents

$  : AirlayConfig
$collection  : IssueLogsCollection
$rabbitmq  : AMQPStreamConnection
$user  : UserEntity
$collection  : mixed
__construct()  : mixed
createInfo()  : array<string|int, mixed>
createLogs()  : array<string|int, IssueLogEntity>
getCollection()  : mixed

Properties

Methods

__construct()

public __construct(mixed $collection) : mixed
Parameters
$collection : mixed
Return values
mixed

createInfo()

public createInfo(string $operation[, mixed $oldValue = null ][, mixed $newValue = null ]) : array<string|int, mixed>
Parameters
$operation : string
$oldValue : mixed = null
$newValue : mixed = null
Return values
array<string|int, mixed>

createLogs()

public createLogs(IssueEntity $issue, array<string|int, mixed> $logsInfo, array<string|int, mixed> $customer) : array<string|int, IssueLogEntity>
Parameters
$issue : IssueEntity
$logsInfo : array<string|int, mixed>

[IssueLogEntity::AVAILABLE_OPERATIONS => []]

$customer : array<string|int, mixed>

['id' => ObjectId, 'name' => 'string']

Return values
array<string|int, IssueLogEntity>

getCollection()

public getCollection() : mixed
Return values
mixed

Search results