Item
class Item
Confirmation item is a simple data object incapsulating a single confirmation unit, its unique identifier (token), its human friendly name, description and the status whether it has already been confirmed.
Methods
__construct(string $token, string $name, string $description)
No description
string
getToken()
Returns the token of the item
string
getName()
Returns the item name (human readable)
string
getDescription()
Returns the human readable description of the item
bool
isConfirmed()
Returns whether the item has been confirmed
confirm()
Mark the item as confirmed
Details
at line 48
__construct(string $token, string $name, string $description)
at line 61
string
getToken()
Returns the token of the item
at line 71
string
getName()
Returns the item name (human readable)
at line 81
string
getDescription()
Returns the human readable description of the item
at line 91
bool
isConfirmed()
Returns whether the item has been confirmed
at line 99
confirm()
Mark the item as confirmed