public function getFilters()
    {
        return [
            new \Twig_SimpleFilter(
                'truncate',
                function ($value, $len=75, $ter='...', $preserve = false) {
                    return \Slick\Template\Utils\Text::truncate(
                        $value,
                        $len,
                        $ter,
                        $preserve
                    );
                }
            ),
            new \Twig_SimpleFilter(
                'wordwrap',
                function ($value, $length = 75, $break = "\n", $cut = false) {
                    return \Slick\Template\Utils\Text::wordwrap(
                        $value,
                        $length,
                        $break,
                        $cut
                    );
                }
            )
        ];
    }
public function getFilters()
    {
        return [
            new \Twig_SimpleFilter(
                'truncate',
                function ($value, $len=75, $ter='...', $preserve = false) {
                    return \Slick\Template\Utils\Text::truncate(
                        $value,
                        $len,
                        $ter,
                        $preserve
                    );
                }
            ),
            new \Twig_SimpleFilter(
                'wordwrap',
                function ($value, $length = 75, $break = "\n", $cut = false) {
                    return \Slick\Template\Utils\Text::wordwrap(
                        $value,
                        $length,
                        $break,
                        $cut
                    );
                }
            )
        ];
    }
public function getFilters ( ) { return [ new \ Twig_SimpleFilter ( 'truncate' , function ( $ value , $ len = 75 , $ ter = '...' , $ preserve = false ) { return \ Slick \ Template \ Utils \ Text :: truncate ( $ value , $ len , $ ter , $ preserve ) ; } ) , new \ Twig_SimpleFilter ( 'wordwrap' , function ( $ value , $ length = 75 , $ break = "\n" , $ cut = false ) { return \ Slick \ Template \ Utils \ Text :: wordwrap ( $ value , $ length , $ break , $ cut ) ; } ) ] ; }
Returns a list of filters

@return array
Returns a list of filters