public function getFilters()
    {
        $filters = [
            new Twig_SimpleFilter('app', [$this, 'appFilter'], ['is_safe' => ['html']]),
            new Twig_SimpleFilter('media', [$this, 'mediaFilter'], ['is_safe' => ['html']]),
        ];

        /*
         * Include extensions provided by plugins
         */
        $filters = $this->markupManager->makeTwigFilters($filters);

        return $filters;
    }
public function getFilters()
    {
        $filters = [
            new Twig_SimpleFilter('app', [$this, 'appFilter'], ['is_safe' => ['html']]),
            new Twig_SimpleFilter('media', [$this, 'mediaFilter'], ['is_safe' => ['html']]),
        ];

        /*
         * Include extensions provided by plugins
         */
        $filters = $this->markupManager->makeTwigFilters($filters);

        return $filters;
    }
public function getFilters ( ) { $ filters = [ new Twig_SimpleFilter ( 'app' , [ $ this , 'appFilter' ] , [ 'is_safe' => [ 'html' ] ] ) , new Twig_SimpleFilter ( 'media' , [ $ this , 'mediaFilter' ] , [ 'is_safe' => [ 'html' ] ] ) , ] ; /*
         * Include extensions provided by plugins
         */ $ filters = $ this -> markupManager -> makeTwigFilters ( $ filters ) ; return $ filters ; }
Returns a list of filters this extensions provides.

@return array An array of filters
Returns a list of filters this extensions provides .