class TemplateFactory implements TemplateFactory

Latte powered template factory.

Properties

Template $onCreate

Methods

__construct(LatteFactory $latteFactory, IRequest $httpRequest = null, User $user = null, Storage $cacheStorage = null, $templateClass = null)

No description

createTemplate(Control $control = null, string $class = null)

No description

Details

at line 43
__construct(LatteFactory $latteFactory, IRequest $httpRequest = null, User $user = null, Storage $cacheStorage = null, $templateClass = null)

Parameters

LatteFactory $latteFactory
IRequest $httpRequest
User $user
Storage $cacheStorage
$templateClass

at line 61
Template createTemplate(Control $control = null, string $class = null)

Parameters

Control $control
string $class

Return Value

Template

Traits

Strict class for better experience.