Item
class Item (View source)
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
Details
__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