public static function reconstituteFrom(CommittedEvents $history)
    {
        $instance = static::fromIdentity($history->getIdentity());
        $instance->whenAll($history);

        return $instance;
    }
public static function reconstituteFrom(CommittedEvents $history)
    {
        $instance = static::fromIdentity($history->getIdentity());
        $instance->whenAll($history);

        return $instance;
    }
public static function reconstituteFrom ( CommittedEvents $ history ) { $ instance = static :: fromIdentity ( $ history -> getIdentity ( ) ) ; $ instance -> whenAll ( $ history ) ; return $ instance ; }
Reconstructs given concrete aggregate and applies the history

@param CommittedEvents $history
@return static
Reconstructs given concrete aggregate and applies the history