MutationState
in package
MutationState is an object which holds and aggregates mutation tokens across operations.
Table of Contents
- __construct() : mixed
- add() : MutationState
- Adds the result of a mutation operation to this mutation state.
Methods
__construct()
public
__construct() : mixed
Return values
mixed —add()
Adds the result of a mutation operation to this mutation state.
public
add(MutationResult $source) : MutationState
Parameters
- $source : MutationResult
-
the result object to add to this state