class MutationState (View source)

Container for mutation tokens.

Methods

static MutationState
from(array|Document|DocumentFragment $source)

Create container from the given mutation token holders.

add(array|Document|DocumentFragment $source)

Update container with the given mutation token holders.

Details

static MutationState from(array|Document|DocumentFragment $source)

Create container from the given mutation token holders.

Parameters

array|Document|DocumentFragment $source

anything that can have attached MutationToken

Return Value

MutationState

See also

MutationToken

add(array|Document|DocumentFragment $source)

Update container with the given mutation token holders.

Parameters

array|Document|DocumentFragment $source

anything that can have attached MutationToken

See also

MutationToken