]> Raphaƫl G. Git Repositories - airbundle/blob - Twig/FileGetContentsExtension.php
Fix licence
[airbundle] / Twig / FileGetContentsExtension.php
1 <?php
2 // src/Rapsys/AirBundle/Twig/FileGetContentsExtension.php
3 namespace Rapsys\AirBundle\Twig;
4
5 class FileGetContentsExtension extends \Twig_Extension {
6 public function getFilters() {
7 return array(
8 new \Twig_SimpleFilter('file_get_contents', 'file_get_contents', array(false, null))
9 );
10 }
11 }