ContactRequestStatus
in package
FinalYes
Value object representing the lifecycle state of a contact request.
Table of Contents
Constants
Properties
- $value : string
Methods
- __toString() : string
- String representation.
- archived() : self
- equals() : bool
- fromString() : self
- new() : self
- read() : self
- sent() : self
- value() : string
- Return raw status string.
- __construct() : mixed
- allowed() : array<string|int, string>
- Allowed status values.
Constants
ARCHIVED
public
mixed
ARCHIVED
= 'archived'
NEW
public
mixed
NEW
= 'new'
READ
public
mixed
READ
= 'read'
SENT
public
mixed
SENT
= 'sent'
Properties
$value
private
string
$value
Methods
__toString()
String representation.
public
__toString() : string
Return values
stringarchived()
public
static archived() : self
Return values
selfequals()
public
equals(self $other) : bool
Parameters
- $other : self
Return values
boolfromString()
public
static fromString(string $value) : self
Parameters
- $value : string
Return values
selfnew()
public
static new() : self
Return values
selfread()
public
static read() : self
Return values
selfsent()
public
static sent() : self
Return values
selfvalue()
Return raw status string.
public
value() : string
Return values
string__construct()
private
__construct(string $value) : mixed
Parameters
- $value : string
Tags
allowed()
Allowed status values.
private
static allowed() : array<string|int, string>