]> Raphaƫl G. Git Repositories - airbundle/blob - Twig/Base64Extension.php
Add slug field
[airbundle] / Twig / Base64Extension.php
1 <?php
2 // src/Rapsys/AirBundle/Twig/Base64Extension.php
3 namespace Rapsys\AirBundle\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 }