1 | <?php |
||
21 | class I18n extends AbstractTwigExtension implements EngineExtensionInterface |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * Adds translation methods to this class |
||
26 | */ |
||
27 | use TranslateMethods; |
||
28 | |||
29 | /** |
||
30 | * Returns the name of the extension. |
||
31 | * |
||
32 | * @return string The extension name |
||
33 | */ |
||
34 | 2 | public function getName() |
|
38 | |||
39 | /** |
||
40 | * Returns a list of functions to add to the existing list. |
||
41 | * |
||
42 | * @return array An array of functions |
||
43 | */ |
||
44 | 4 | public function getFunctions() |
|
69 | } |
||
70 |