class ContentRenderer implements LoggerAwareInterface (View source)

Traits

Trait LoggerAwareTrait A trait used with LoggerAwareInterface

LoggerAwareTrait

Properties

protected JsonSerializer $serializer
protected Application $app
protected Page $currentPage
protected TemplateLocator $templateLocator

Methods

getLoggerChannel()

No description

__construct(Application $app, JsonSerializer $serializer, TemplateLocator $templateLocator, Page $currentPage = null)

ContentRenderer constructor.

ObjectCollection|null
denormalizeIntoCollection($data)

No description

render(ObjectCollection $collection, SlotTemplate $template)

No description

Details

getLoggerChannel()

No description

__construct(Application $app, JsonSerializer $serializer, TemplateLocator $templateLocator, Page $currentPage = null)

ContentRenderer constructor.

Parameters

Application $app
JsonSerializer $serializer
TemplateLocator $templateLocator
Page $currentPage

ObjectCollection|null denormalizeIntoCollection($data)

No description

Parameters

$data

Return Value

ObjectCollection|null

render(ObjectCollection $collection, SlotTemplate $template)

No description

Parameters

ObjectCollection $collection
SlotTemplate $template