public Phase union(Phase phase) {
        assert(getName().equals(phase.getName()));

        Dependencies union = dependencies.union(phase.dependencies);
        return new Phase(getName(), union.before(), union.after());
    }
Used for many to many constraints on searcher ordering. Immutable.

@author Tony Vaagenes
container-core/src/main/java/com/yahoo/component/chain/Phase.java