class RenderedSlotCollectionFactory (View source)

Holds a collection of RenderedSlot objects, each bound to a particular slot for easy rendering.

Properties

protected EntityManager $entityManager

Methods

__construct(EntityManager $entityManager)

No description

getCurrentRules(Instance $instance, array $ruleTypes = null)

No description

getRenderedSlotsFromRules(Instance $instance, array $ruleTypes)

No description

createCollection(Instance $instance)

No description

Details

__construct(EntityManager $entityManager)

No description

Parameters

EntityManager $entityManager

getCurrentRules(Instance $instance, array $ruleTypes = null)

No description

Parameters

Instance $instance
array $ruleTypes

protected RenderedSlot[] getRenderedSlotsFromRules(Instance $instance, array $ruleTypes)

No description

Parameters

Instance $instance
array $ruleTypes

All the InstanceSlotRule::CONSTANTS

Return Value

RenderedSlot[]

createCollection(Instance $instance)

No description

Parameters

Instance $instance