1 | <?php |
||
10 | class TwigExtension extends \Twig_Extension |
||
11 | { |
||
12 | 6 | public function getFilters() |
|
13 | { |
||
14 | return array( |
||
15 | 6 | GroupByFilter::get(), |
|
16 | 6 | OrderFilter::get(), |
|
17 | 6 | WhereFilter::get(), |
|
18 | 6 | SelectFilter::get(), |
|
19 | 6 | ZipFilter::get(), |
|
20 | 6 | Md5Filter::get(), |
|
21 | 6 | Sha1Filter::get(), |
|
22 | 6 | TableOfContentsFilter::get(), |
|
23 | ); |
||
24 | } |
||
25 | |||
26 | 6 | public function getFunctions() |
|
33 | |||
34 | /** |
||
35 | * Returns the name of the extension. |
||
36 | * |
||
37 | * @return string The extension name |
||
38 | */ |
||
39 | 30 | public function getName() |
|
43 | } |
||
44 |