Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class TemplateFunctions implements Injectable |
||
16 | { |
||
17 | use Helper; |
||
18 | |||
19 | const FILTER_FUNCTIONS_LIST = 'twigwp.template_functions_list'; |
||
20 | |||
21 | /** |
||
22 | * Kses Functions list |
||
23 | * |
||
24 | * @var array The list of kses functions to register in twig |
||
25 | */ |
||
26 | private $functions; |
||
27 | |||
28 | /** |
||
29 | * Kses constructor |
||
30 | * |
||
31 | * @param array $functions The list of kses functions to register into twig |
||
32 | */ |
||
33 | public function __construct(array $functions = []) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function injectInto(\Twig\Environment $twig): \Twig\Environment |
||
67 |