/**
  * @param AnnotatedAggregateRoot $aggregateRoot
  */
 public function __construct(AnnotatedAggregateRoot $aggregateRoot)
 {
     parent::__construct(sprintf(static::$messageTemplate, get_class($aggregateRoot)));
 }
Ejemplo n.º 2
0
 /**
  * @param AnnotatedSaga $saga
  */
 public function __construct(AnnotatedSaga $saga)
 {
     parent::__construct(sprintf(static::$messageTemplate, get_class($saga)));
 }