Documentation

TokenProcessor extends AbstractTokenProcessor
in package

Adds the current security token to the log entry.

Tags
author

Dany Maillard danymaillard93b@gmail.com

author

Igor Timoshenko igor.timoshenko@i.ua

Table of Contents

$tokenStorage  : TokenStorageInterface
__construct()  : mixed
__invoke()  : array<string|int, mixed>
getKey()  : string
getToken()  : TokenInterface|null

Properties

Methods

__construct()

public __construct(TokenStorageInterface $tokenStorage) : mixed
Parameters
$tokenStorage : TokenStorageInterface
Return values
mixed

__invoke()

public __invoke(array<string|int, mixed> $record) : array<string|int, mixed>
Parameters
$record : array<string|int, mixed>
Return values
array<string|int, mixed>

getToken()

protected getToken() : TokenInterface|null
Return values
TokenInterface|null

Search results