class Concrete5UserProcessor (View source)

A processor for adding the concrete5 user into the extra log info

Properties

protected Application $app
protected User|null $user

The cached user instance

Methods

__construct(Application $app)

No description

array
__invoke(array $record)

Invoke this processor

User|mixed
getLoggedInUser()

Resolve a user intance from the IOC container and cache it

Details

__construct(Application $app)

No description

Parameters

Application $app

array __invoke(array $record)

Invoke this processor

Parameters

array $record

The given monolog record

Return Value

array

The modified record

protected User|mixed getLoggedInUser()

Resolve a user intance from the IOC container and cache it

Return Value

User|mixed