Class AggregatePolicy
package |
Ascmvc\EventSourcing |
---|
__construct(\Ascmvc\EventSourcing\EventDispatcher $eventDispatcher)
__invoke(\Ascmvc\EventSourcing\Event\AggregateEvent $event) : \Generator
getInstance(\Ascmvc\EventSourcing\EventDispatcher $eventDispatcher) : \Ascmvc\EventSourcing\AggregateEventListener
\Ascmvc\EventSourcing\EventDispatcher
\Ascmvc\EventSourcing\AggregateEventListener
onAggregateEvent(\Ascmvc\EventSourcing\Event\AggregateEvent $event) : \Generator
onEvent(\Ascmvc\EventSourcing\Event\Event $event) : \Generator
eventDispatcher : \Ascmvc\EventSourcing\EventDispatcher
aggregateRootName : string
var |
---|
string