MDCAdapter
in
This interface abstracts the service offered by various MDC implementations.
Tags
Table of Contents
- clear() : mixed
- get() : string
- getCopyOfContextMap() : array<string|int, mixed>|null
- put() : mixed
- remove() : mixed
- setContextMap() : mixed
Methods
clear()
public
clear() : mixed
Return values
mixed —get()
public
get(string $key) : string
Parameters
- $key : string
Return values
string —getCopyOfContextMap()
public
getCopyOfContextMap() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —put()
public
put(string $key, string $value) : mixed
Parameters
- $key : string
- $value : string
Return values
mixed —remove()
public
remove(string $key) : mixed
Parameters
- $key : string
Return values
mixed —setContextMap()
public
setContextMap(array<string|int, mixed> $contextMap) : mixed
Parameters
- $contextMap : array<string|int, mixed>