Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class AtomExtension extends \Twig_Extension |
||
9 | { |
||
10 | protected const FUNCTION_NAME = 'atom'; |
||
11 | |||
12 | protected const ATOM_MODULE = 'Atomic'; |
||
13 | |||
14 | /** |
||
15 | * @return array|\Twig_Function[] |
||
16 | */ |
||
17 | 1 | public function getFunctions(): array |
|
28 | ] |
||
29 | ) |
||
30 | ]; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param $atomName |
||
35 | * @param $atomModule |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | 1 | private function twigAtom(string $atomName, string $atomModule): string |
|
44 | } |