phpDocumentor

ErrorHandlingMiddleware
in package
implements Middleware

FinalYes

Table of Contents

Interfaces

Middleware

Properties

$logger  : LoggerInterface

Methods

__construct()  : mixed
execute()  : object
log()  : void
Dispatches a logging request.

Properties

Methods

__construct()

public __construct(LoggerInterface $logger) : mixed
Parameters
$logger : LoggerInterface

execute()

public execute(Command $command, callable(Command): object $next) : object
Parameters
$command : Command
$next : callable(Command): object
Return values
object

log()

Dispatches a logging request.

private log(string $message[, string $priority = LogLevel::INFO ][, array<string|int, mixed> $parameters = [] ]) : void
Parameters
$message : string
$priority : string = LogLevel::INFO
$parameters : array<string|int, mixed> = []

        
On this page

Search results