class MutationState (View source)

MutationState is an object which holds and aggregates mutation tokens across operations.

Methods

__construct()

No description

add(MutationResult $source)

Adds the result of a mutation operation to this mutation state.

Details

__construct()

No description

MutationState add(MutationResult $source)

Adds the result of a mutation operation to this mutation state.

Parameters

MutationResult $source

the result object to add to this state

Return Value

MutationState