public function MessageWrapper::setResult in Sparkpost email 8.2
Sets the result from the API call.
Parameters
array $result: The result we got.
Overrides MessageWrapperInterface::setResult
2 calls to MessageWrapper::setResult()
- MessageWrapper::sendMessage in src/
MessageWrapper.php - Sends the message.
- QueuedMessageWrapper::__construct in modules/
sparkpost_requeue/ src/ QueuedMessageWrapper.php - QueuedMessageWrapper constructor.
File
- src/
MessageWrapper.php, line 80
Class
- MessageWrapper
- Message wrapper class.
Namespace
Drupal\sparkpostCode
public function setResult(array $result) {
$this->result = $result;
}