]> Raphaƫl G. Git Repositories - blogbundle/blob - Twig/Base64Extension.php
Add register mail template
[blogbundle] / Twig / Base64Extension.php
1 <?php
2 // src/Rapsys/BlogBundle/Twig/Base64Extension.php
3 namespace Rapsys\BlogBundle\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 }