Created
July 14, 2017 12:15
-
-
Save anderson-marin26/c7b4132aaa5ac5e51e217fe53ab34939 to your computer and use it in GitHub Desktop.
Twig Loader Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require "../vendor/autoload.php"; | |
$loader = new Twig_Loader_Filesystem('../view/'); | |
$twig = new Twig_Environment($loader); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment