-
Notifications
You must be signed in to change notification settings - Fork 0
Template Service
Christophe SAUVEUR edited this page Sep 28, 2024
·
1 revision
MFX uses Twig as its template engine.
The Template Service gives you access the Twig environment, among other features. It implements the ITemplateService
interface.
Use this method to get access to the Twig environment:
function getTwig(): ?Environment;
The Template Service also allows you to convert Fake Protocols.
Getting Started | Framework Reference | API Reference | MFX is released under the MIT license