Class ReferenceId

Summary

Fully Qualified Name: Laminas\Log\Processor\ReferenceId
Extends: RequestId
Implements: ProcessorInterface

Description

Methods

Name Description Defined By
getReferenceId() Returns identifier. ReferenceId
process() Adds an identifier for the request to the log. ReferenceId
setReferenceId() Sets identifier. ReferenceId

Method Details

getReferenceId()

Returns identifier.

Returns: string

process()

Adds an identifier for the request to the log.

This enables to filter the log for messages belonging to a specific request

Parameter Name Type Description
$event array event

Returns: array event data

setReferenceId()

Sets identifier.

Parameter Name Type Description
$identifier string

Returns: self

Top