class FlashMiddleware (View source)

Store current request data and clear old request data

Methods

__construct(Flash $flash)

Constructor.

handle(RequestInterface $request, Closure $next)

{@inheritDoc}

Details

__construct(Flash $flash)

Constructor.

Parameters

Flash $flash

handle(RequestInterface $request, Closure $next)

{@inheritDoc}

Parameters

RequestInterface $request
Closure $next