Created
April 19, 2020 18:46
-
-
Save elminson/31d9b167ba61941a1ae241f2b4fba5d5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
// Load our autoloader | |
require_once __DIR__.'/vendor/autoload.php'; | |
// Specify our Twig templates location | |
$loader = new \Twig\Loader\FilesystemLoader('templates'); | |
// Instantiate our Twig | |
$twig = new \Twig\Environment($loader, [ | |
'cache' => 'compilation_cache', | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment