yxorP Documentation

Middleware
in package

Table of Contents

cookies()  : Closure
history()  : Closure
httpErrors()  : Closure
log()  : Closure
mapRequest()  : Closure
mapResponse()  : Closure
prepareBody()  : Closure
redirect()  : Closure
retry()  : Closure
tap()  : Closure

Methods

cookies()

public static cookies() : Closure
Return values
Closure

history()

public static history(mixed &$container) : Closure
Parameters
$container : mixed
Return values
Closure

httpErrors()

public static httpErrors() : Closure
Return values
Closure

log()

public static log(LoggerInterface $logger, MessageFormatter $formatter[, mixed $logLevel = 'info' ]) : Closure
Parameters
$logger : LoggerInterface
$formatter : MessageFormatter
$logLevel : mixed = 'info'
Return values
Closure

mapRequest()

public static mapRequest(callable $fn) : Closure
Parameters
$fn : callable
Return values
Closure

mapResponse()

public static mapResponse(callable $fn) : Closure
Parameters
$fn : callable
Return values
Closure

prepareBody()

public static prepareBody() : Closure
Return values
Closure

redirect()

public static redirect() : Closure
Return values
Closure

retry()

public static retry(callable $decider[, callable $delay = null ]) : Closure
Parameters
$decider : callable
$delay : callable = null
Return values
Closure

tap()

public static tap([callable $before = null ][, callable $after = null ]) : Closure
Parameters
$before : callable = null
$after : callable = null
Return values
Closure

Search results