final class Projections implements IteratorAggregate, Countable (View source)

internal  
 

An immutable set of Content Repository projections ({ProjectionInterface}

Methods

static Projections
createEmpty()

No description

static Projections
fromArray(array $projections)

No description

get(SubscriptionId $id)

No description

bool
has(SubscriptionId $id)

No description

with(SubscriptionId $id, ProjectionInterface $projection)

No description

getIterator()

No description

int
count()

No description

Details

static Projections createEmpty()

No description

Return Value

Projections

static Projections fromArray(array $projections)

No description

Parameters

array $projections

Return Value

Projections

ProjectionInterface get(SubscriptionId $id)

No description

Parameters

SubscriptionId $id

Return Value

ProjectionInterface

bool has(SubscriptionId $id)

No description

Parameters

SubscriptionId $id

Return Value

bool

Projections with(SubscriptionId $id, ProjectionInterface $projection)

No description

Parameters

SubscriptionId $id
ProjectionInterface $projection

Return Value

Projections

Traversable getIterator()

No description

Return Value

Traversable

int count()

No description

Return Value

int