class TemplateLocator (View source)

Responsible for locating and rendering templates in a theme.

Properties

protected FileLocator $fileLocator
protected ThemeLocation $themeLocation

Methods

__construct(FileLocator $fileLocator, ThemeLocation $themeLocation)

No description

string
getFileToRender(Page $page, Container $container)

No description

Details

__construct(FileLocator $fileLocator, ThemeLocation $themeLocation)

No description

Parameters

FileLocator $fileLocator
ThemeLocation $themeLocation

string getFileToRender(Page $page, Container $container)

No description

Parameters

Page $page
Container $container

Return Value

string file