• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Powerful and flexible templates with Twig
 

Powerful and flexible templates with Twig

on

  • 767 views

 

Statistics

Views

Total Views
767
Views on SlideShare
767
Embed Views
0

Actions

Likes
3
Downloads
26
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • There are other loader types too; loading from string, or load from an array (keys are template names, values are templates as strings) You can create your own too, if you implement the Twig_LoaderInterface
  • Load the template into twig, then render by passing an array of variables

Powerful and flexible templates with Twig Powerful and flexible templates with Twig Presentation Transcript