Use this factory when aggregate type equals to aggregate root class
The factory makes sure that the aggregate root class exists.
public static fromAggregateRootClass ( string $aggregateRootClass ) : |
||
$aggregateRootClass | string | |
return |