class Renderer implements LoggerAwareInterface (View source)

Traits

Trait LoggerAwareTrait A trait used with LoggerAwareInterface

LoggerAwareTrait

Properties

protected EntityManager $entityManager
protected TemplateLocator $templateLocator
protected Page $currentPage
protected JsonSerializer $serializer
protected RendererFilterer $rendererFilterer
protected FileLocator $fileLocator
protected SummaryObjectExtractor $summaryObjectExtractor
protected SummaryObjectInspector $summaryObjectInspector

Methods

getLoggerChannel()

No description

__construct(JsonSerializer $serializer, RendererFilterer $rendererFilterer, EntityManager $entityManager, TemplateLocator $templateLocator, FileLocator $fileLocator, SummaryObjectExtractor $summaryObjectExtractor, SummaryObjectInspector $summaryObjectInspector, Page $currentPage = null)

No description

summaryObjectSupportsTemplate(array $summaryObjectFields, Template $template)

No description

render(SummaryObjectInterface $summaryObject)

No description

renderSummaryForObject(CategoryMemberInterface $object, string $templateHandle = null)

No description

Details

getLoggerChannel()

No description

__construct(JsonSerializer $serializer, RendererFilterer $rendererFilterer, EntityManager $entityManager, TemplateLocator $templateLocator, FileLocator $fileLocator, SummaryObjectExtractor $summaryObjectExtractor, SummaryObjectInspector $summaryObjectInspector, Page $currentPage = null)

No description

Parameters

JsonSerializer $serializer
RendererFilterer $rendererFilterer
EntityManager $entityManager
TemplateLocator $templateLocator
FileLocator $fileLocator
SummaryObjectExtractor $summaryObjectExtractor
SummaryObjectInspector $summaryObjectInspector
Page $currentPage

protected summaryObjectSupportsTemplate(array $summaryObjectFields, Template $template)

No description

Parameters

array $summaryObjectFields
Template $template

render(SummaryObjectInterface $summaryObject)

No description

Parameters

SummaryObjectInterface $summaryObject

renderSummaryForObject(CategoryMemberInterface $object, string $templateHandle = null)

No description

Parameters

CategoryMemberInterface $object
string $templateHandle