3
* Spring Signage Ltd - http://www.springsignage.com
4
* Copyright (C) 2015 Spring Signage Ltd
5
* (UrlDecodeTwigExtension.php)
12
class UrlDecodeTwigExtension extends \Twig_Extension
17
public function getFilters()
20
'url_decode' => new \Twig_Filter_Method($this, 'urlDecode')
29
* @return string The decoded URL
31
public function urlDecode( $url )
33
return urldecode( $url );
37
* Returns the name of the extension.
39
* @return string The extension name
41
public function getName()
b'\\ No newline at end of file'