class SimpleViewResponse implements AuthorizationViewResponse, AccountSelectionViewResponse, DeviceAuthorizationViewResponse, DeviceUserCodeViewResponse, Transient

Properties

protected array<string, mixed> $parameters

An array of arguments that may be passed to the view response and used in the view.

Methods

__construct(Closure|string $view)

Create a new response instance.

withParameters(array $parameters = [])

Add parameters to response.

Response
toResponse(Request $request)

Create an HTTP response that represents the object.

Details

at line 31
__construct(Closure|string $view)

Create a new response instance.

Parameters

Closure|string $view

at line 41
AuthorizationViewResponse withParameters(array $parameters = [])

Add parameters to response.

Parameters

array $parameters

Return Value

AuthorizationViewResponse

at line 51
Response toResponse(Request $request)

Create an HTTP response that represents the object.

Parameters

Request $request

Return Value

Response