class ApplicationMiddleware implements MiddlewareInterface, ApplicationAwareInterface (View source)

Middleware for applying state changes to the application

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from ApplicationAwareTrait

Methods

setApplication(Application $app)

Setter method for the application

Response
process(Request $request, DelegateInterface $frame)

Apply the request instance to the request singleton

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

Response process(Request $request, DelegateInterface $frame)

Apply the request instance to the request singleton

Parameters

Request $request
DelegateInterface $frame

Return Value

Response