Documentation

Response
in package

Table of Contents

$message  : string|null
The response message.
__construct()  : void
Create a new response.
__toString()  : string
Get the string representation of the message.
message()  : string|null
Get the response message.

Properties

$message

The response message.

protected string|null $message

Methods

__construct()

Create a new response.

public __construct([string|null $message = null ]) : void
Parameters
$message : string|null = null
Return values
void

__toString()

Get the string representation of the message.

public __toString() : string
Return values
string

message()

Get the response message.

public message() : string|null
Return values
string|null

Search results