ResponsePreparerInterface

interface ResponsePreparerInterface (View source)

Methods

Response prepareResponse(mixed $value)

Prepare the given value as a Response object.

bool readyForResponses()

Determine if provider is ready to return responses.

Details

Response prepareResponse(mixed $value)

Prepare the given value as a Response object.

Parameters

mixed $value

Return Value

Response

bool readyForResponses()

Determine if provider is ready to return responses.

Return Value

bool

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Support/Contracts/ResponsePreparerInterface.html