ResponseDataError
Table of Contents
Properties
-
$code
: string|int|null
-
$data
: mixed
-
$message
: string|null
Methods
-
__construct()
: mixed
-
toArray()
: array<string|int, mixed>
$code
protected
string|int|null
$code
= null
$data
protected
mixed
$data
= []
$message
protected
string|null
$message
= null
__construct()
public
__construct([string $code = 'unknown' ][, string $message = '' ][, mixed $data = [] ]) : mixed
Parameters
-
$code
: string
= 'unknown'
-
-
$message
: string
= ''
-
-
$data
: mixed
= []
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>