From: Raphaƫl Gertz Date: Sun, 25 Mar 2018 00:51:09 +0000 (+0100) Subject: Integrate base64 extension X-Git-Tag: 0.1~47 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/85495f9ce139daf072c3780e28b79e41813e1d2f?ds=inline Integrate base64 extension --- diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 6ce718f..2dcb15f 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -2,3 +2,6 @@ services: twig.extension.intl: class: Twig_Extensions_Extension_Intl tags: [ twig.extension ] + rapsys_blog.twig.base64: + class: Rapsys\BlogBundle\Twig\Base64Extension + tags: [ twig.extension ] diff --git a/Twig/Base64Extension.php b/Twig/Base64Extension.php new file mode 100644 index 0000000..e1c804e --- /dev/null +++ b/Twig/Base64Extension.php @@ -0,0 +1,12 @@ +