]> Raphaƫl G. Git Repositories - packbundle/blob - Twig/Base64Extension.php
6a0f3e288ae694d926a4d5b4d6aae711aaebdf92
[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 }