class Planner implements LoggerAwareInterface (View source)

Traits

Trait LoggerAwareTrait A trait used with LoggerAwareInterface

LoggerAwareTrait

Constants

MAX_VERIFICATION_CHECKS

VERIFICATION_FAILURE_LOGGING_THRESHOLD

Properties

protected $verificationChecksRun
protected SlotFilterer $slotFilterer

Methods

getLoggerChannel()

No description

__construct(SlotFilterer $slotFilterer)

No description

int
getVerificationChecksRun()

No description

PlannedSlot|null
planSlot(PlannedInstance $plannedInstance, int $slot)

No description

createPlannedInstance(Instance $instance, array $contentObjectGroups, int $startingSlot, int $totalSlots)

No description

bool
isValidInstance(PlannedInstance $plannedInstance)

No description

plan(Instance $instance, array $contentObjectGroups, int $startingSlot, int $totalSlots)

No description

Details

getLoggerChannel()

No description

__construct(SlotFilterer $slotFilterer)

No description

Parameters

SlotFilterer $slotFilterer

int getVerificationChecksRun()

No description

Return Value

int

protected PlannedSlot|null planSlot(PlannedInstance $plannedInstance, int $slot)

No description

Parameters

PlannedInstance $plannedInstance
int $slot

Return Value

PlannedSlot|null

protected PlannedInstance createPlannedInstance(Instance $instance, array $contentObjectGroups, int $startingSlot, int $totalSlots)

No description

Parameters

Instance $instance
array $contentObjectGroups
int $startingSlot
int $totalSlots

Return Value

PlannedInstance

protected bool isValidInstance(PlannedInstance $plannedInstance)

No description

Parameters

PlannedInstance $plannedInstance

Return Value

bool

PlannedInstance plan(Instance $instance, array $contentObjectGroups, int $startingSlot, int $totalSlots)

No description

Parameters

Instance $instance
array $contentObjectGroups
int $startingSlot
int $totalSlots

Return Value

PlannedInstance