class TemplateLocator (View source)

Responsible for locating and rendering summary templates.

Properties

protected FileLocator $fileLocator
protected ThemeLocation $themeLocation
protected Service $siteService

Methods

__construct(Service $siteService, FileLocator $fileLocator, ThemeLocation $themeLocation)

No description

getFileLocator()

No description

string
getFileToRender(Template $template)

No description

Details

__construct(Service $siteService, FileLocator $fileLocator, ThemeLocation $themeLocation)

No description

Parameters

Service $siteService
FileLocator $fileLocator
ThemeLocation $themeLocation

FileLocator getFileLocator()

No description

Return Value

FileLocator

string getFileToRender(Template $template)

No description

Parameters

Template $template

Return Value

string file