class Response (View source)

Properties

protected string|null $message The response message.

Methods

void
__construct(string|null $message = null)

Create a new response.

string|null
message()

Get the response message.

string
__toString()

Get the string representation of the message.

Details

void __construct(string|null $message = null)

Create a new response.

Parameters

string|null $message

Return Value

void

string|null message()

Get the response message.

Return Value

string|null

string __toString()

Get the string representation of the message.

Return Value

string