Wizard Help

ResponseTrait

ResponseTrait provides methods that allow events to set and get the response.

Methods

Name

Description

getResponse()

Returns the response

setResponse()

Sets the response

Method Details

getResponse()

Returns the response.

See also:

public function getResponse(): ?ResponseInterface

Return

?ResponseInterface

The response or null if no response is set

setResponse()

Sets the response.

See also:

public function setResponse(ResponseInterface $response): self

Parameter

Type

Default

Description

$response

ResponseInterface

Required

The response

Last modified: 27 January 2025