Swift_Plugins_Reporters_HitReporter
in package
implements
Swift_Plugins_Reporter
A reporter which "collects" failures for the Reporter plugin.
Tags
Interfaces, Classes and Traits
- Swift_Plugins_Reporter
- The Reporter plugin sends pass/fail notification to a Reporter.
Table of Contents
- $failures : array<string|int, mixed>
- The list of failures.
- $failures_cache : mixed
- clear() : mixed
- Clear the buffer (empty the list).
- getFailedRecipients() : array<string|int, mixed>
- Get an array of addresses for which delivery failed.
- notify() : mixed
- Notifies this ReportNotifier that $address failed or succeeded.
Properties
$failures
The list of failures.
private
array<string|int, mixed>
$failures
= []
$failures_cache
private
mixed
$failures_cache
= []
Methods
clear()
Clear the buffer (empty the list).
public
clear() : mixed
Return values
mixed —getFailedRecipients()
Get an array of addresses for which delivery failed.
public
getFailedRecipients() : array<string|int, mixed>
Return values
array<string|int, mixed> —notify()
Notifies this ReportNotifier that $address failed or succeeded.
public
notify(Swift_Mime_SimpleMessage $message, string $address, int $result) : mixed
Parameters
- $message : Swift_Mime_SimpleMessage
- $address : string
- $result : int
-
from RESULT_FAIL