3 declare(strict_types
=1);
5 namespace PhpMyAdmin\Twig
;
7 use Twig\Extension\AbstractExtension
;
10 class UrlExtension
extends AbstractExtension
13 * Returns a list of functions to add to the existing list.
15 * @return TwigFunction[]
17 public function getFunctions()
22 'PhpMyAdmin\Url::getHiddenInputs',
23 ['is_safe' => ['html']]
27 'PhpMyAdmin\Url::getHiddenFields',
28 ['is_safe' => ['html']]
32 'PhpMyAdmin\Url::getCommon',
33 ['is_safe' => ['html']]
37 'PhpMyAdmin\Url::getCommonRaw',
38 ['is_safe' => ['html']]
42 'PhpMyAdmin\Url::getFromRoute',
43 ['is_safe' => ['html']]