]> Raphaƫl G. Git Repositories - packbundle/blob - Twig/Base64Extension.php
Re-enable cache in twig
[packbundle] / Twig / Base64Extension.php
1 <?php
2 // src/Rapsys/PackBundle/Twig/Base64Extension.php
3 namespace Rapsys\PackBundle\Twig;
4
5 class Base64Extension extends \Twig_Extension {
6 public function getFilters() {
7 return array(
8 new \Twig_SimpleFilter('base64_encode', 'base64_encode'),
9 new \Twig_SimpleFilter('base64_decode', 'base64_decode')
10 );
11 }
12 }