class SlotRenderer (View source)

Properties

protected FileLocator $fileLocator
protected RenderedSlotCollection $renderedSlotCollection
protected bool $enableEditing
protected Application $app

Methods

setEnableEditing(bool $enableEditing)

No description

__construct(Application $app, FileLocator $fileLocator, RenderedSlotCollection $renderedSlotCollection)

No description

hasContents(int $slot)

Returns true if the slot has a block inside it.

display(int $slot)

No description

Details

setEnableEditing(bool $enableEditing)

No description

Parameters

bool $enableEditing

__construct(Application $app, FileLocator $fileLocator, RenderedSlotCollection $renderedSlotCollection)

No description

Parameters

Application $app
FileLocator $fileLocator
RenderedSlotCollection $renderedSlotCollection

hasContents(int $slot)

Returns true if the slot has a block inside it.

Parameters

int $slot

display(int $slot)

No description

Parameters

int $slot