]>
Raphaƫl G. Git Repositories - blogbundle/blob - Twig/Base64Extension.php
2 // src/Rapsys/BlogBundle/Twig/Base64Extension.php
3 namespace Rapsys\BlogBundle\Twig
;
5 class Base64Extension
extends \Twig_Extension
{
6 public function getFilters() {
8 new \
Twig_SimpleFilter('base64_encode', 'base64_encode'),
9 new \
Twig_SimpleFilter('base64_decode', 'base64_decode')