trait PreparesResponse

Inline Symfony's side-effect-free common response preparation path.

Cases that can mutate the body, cookies, or protocol-specific headers remain delegated to Symfony so the fast path does not narrow response behavior.

Methods

prepare(Request $request)

Prepare the response before it is emitted.

Details

at line 21
PreparesResponse prepare(Request $request)

Prepare the response before it is emitted.

Parameters

Request $request

Return Value

PreparesResponse