Method | Description | |
---|---|---|
__construct ( Ddd\Application\EventStore $anEventStore, Ddd\Application\Notification\PublishedMessageTracker $aPublishedMessageTracker, Ddd\Application\Notification\MessageProducer $aMessageProducer ) | ||
publishNotifications ( $exchangeName ) : integer |
Method | Description | |
---|---|---|
eventStore ( ) : Ddd\Application\EventStore | ||
publishedMessageTracker ( ) : Ddd\Application\Notification\PublishedMessageTracker |
Method | Description | |
---|---|---|
listUnpublishedNotifications ( $mostRecentPublishedMessageId ) : |
||
messageProducer ( ) | ||
publish ( $exchangeName, |
||
serializer ( ) : JMS\Serializer\Serializer | ||
trackMostRecentPublishedMessage ( Ddd\Application\Notification\PublishedMessageTracker $publishedMessageTracker, $exchangeName, $notification ) |
public __construct ( Ddd\Application\EventStore $anEventStore, Ddd\Application\Notification\PublishedMessageTracker $aPublishedMessageTracker, Ddd\Application\Notification\MessageProducer $aMessageProducer ) | ||
$anEventStore | Ddd\Application\EventStore | |
$aPublishedMessageTracker | Ddd\Application\Notification\PublishedMessageTracker | |
$aMessageProducer | Ddd\Application\Notification\MessageProducer |
protected eventStore ( ) : Ddd\Application\EventStore | ||
return | Ddd\Application\EventStore |
public publishNotifications ( $exchangeName ) : integer | ||
return | integer |
protected publishedMessageTracker ( ) : Ddd\Application\Notification\PublishedMessageTracker | ||
return | Ddd\Application\Notification\PublishedMessageTracker |