final class ProjectionStates (View source)

internal  
 

Collection of all states (aka read models) of all projections for a Content Repository

Methods

createEmpty()

No description

fromArray(array $states)

No description

get(string $className)

Retrieve a single state (aka read model) by its fully qualified PHP class name

Details

static ProjectionStates createEmpty()

No description

Return Value

ProjectionStates

static ProjectionStates fromArray(array $states)

No description

Parameters

array $states

Return Value

ProjectionStates

ProjectionStateInterface get(string $className)

Retrieve a single state (aka read model) by its fully qualified PHP class name

Parameters

string $className

Return Value

ProjectionStateInterface

Exceptions

InvalidArgumentException