Метод |
Описание |
|
__toString ( ) : string |
|
|
assert ( $aggregateRoot ) |
|
|
equals ( AggregateType $other ) : boolean |
|
|
fromAggregateRoot ( mixed $eventSourcedAggregateRoot ) : AggregateType |
Use this factory when aggregate type should be detected based on given aggregate root |
|
fromAggregateRootClass ( string $aggregateRootClass ) : AggregateType |
Use this factory when aggregate type equals to aggregate root class
The factory makes sure that the aggregate root class exists. |
|
fromString ( $aggregateTypeString ) : AggregateType |
Use this factory when the aggregate type is not equal to the aggregate root class |
|
toString ( ) : string |
|
|