\NotificationResponse
Container for response to calling the send method on a Notification Service. Contains a list of successful and failed deliveries.
Synopsis
class NotificationResponse
implements
NotificationResponseInterface
{
- // members
- private array $failures = ;
- private array $deliveries = ;
- // methods
- public NotificationResponse addFailure()
- public NotificationResponse addDelivery()
- public NotificationFailureException getFailures()
- public array getDeliveries()
Hierarchy
Implements
Members
private
- $deliveries — array
- $failures — array
Methods
public
- addDelivery() — Add a notification delivery success to this notifcation response.
- addFailure() — Add a notification failure to this notification response.
- getDeliveries() — {@inheritDoc}
- getFailures() — {@inheritDoc}