StatusData
in package
implements
StatusDataInterface
FinalYes
Table of Contents
Interfaces
Properties
- $code : string
- $description : string
- $error : self|null
- $ok : self|null
- $unset : self|null
Methods
- __construct() : mixed
- create() : self
- error() : self
- getCode() : string
- getDescription() : string
- ok() : self
- unset() : self
Properties
$code read-only
private
string
$code
$description read-only
private
string
$description
$error
private
static self|null
$error
= null
$ok
private
static self|null
$ok
= null
$unset
private
static self|null
$unset
= null
Methods
__construct()
public
__construct(string $code, string $description) : mixed
Parameters
- $code : string
- $description : string
Tags
create()
public
static create(string $code[, string|null $description = null ]) : self
Parameters
- $code : string
- $description : string|null = null
Tags
Return values
selferror()
public
static error() : self
Return values
selfgetCode()
public
getCode() : string
Return values
stringgetDescription()
public
getDescription() : string
Return values
stringok()
public
static ok() : self
Return values
selfunset()
public
static unset() : self