Communicate the result of processing your action. You can include a message
and also specify whether it was successful or failed (e.g. an input validation
error of some kind).
The process() method completed successfully.
The process() method failed to complete.
$message : string
A message to display to the user letting them know who things went.
Plain-text only. Will be escaped.
__construct(boolean $result, string $message)
Provide the message and success/failure result.
getMessage() : string
Get the message that should be displayed with this result.
isSuccess() : boolean
Check to see if the process() succeeded.
isFailure() : boolean
Check to see if the process() failed.