Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Compiler/Engine for some templates #143

Open
MartinMystikJonas opened this issue Dec 12, 2022 · 0 comments
Open

Custom Compiler/Engine for some templates #143

MartinMystikJonas opened this issue Dec 12, 2022 · 0 comments

Comments

@MartinMystikJonas
Copy link
Collaborator

When Latte is used standalone for example to generate e-mail content we want to have option to say that given latte template is compiled using different Compiler/Engine than default.

All classes that currently get Compiler (CompilerInterface) as service from DI should accept it as parameter and use different compiler.

LatteTemplateResolver should be able to say that resolved templates use different Compiler/Engine. Maybe make it part od Template Value object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant