wb-2_10_x/trunk/include/Sensio/Twig/lib/Twig/Extension.php @ 2
1 |
<?php
|
---|---|
2 |
|
3 |
/*
|
4 |
* This file is part of Twig.
|
5 |
*
|
6 |
* (c) 2009 Fabien Potencier
|
7 |
*
|
8 |
* For the full copyright and license information, please view the LICENSE
|
9 |
* file that was distributed with this source code.
|
10 |
*/
|
11 |
abstract class Twig_Extension implements Twig_ExtensionInterface |
12 |
{
|
13 |
/**
|
14 |
* {@inheritdoc}
|
15 |
*
|
16 |
* @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead
|
17 |
*/
|
18 |
public function initRuntime(Twig_Environment $environment) |
19 |
{
|
20 |
}
|
21 |
|
22 |
/**
|
23 |
* {@inheritdoc}
|
24 |
*/
|
25 |
public function getTokenParsers() |
26 |
{
|
27 |
return array(); |
28 |
}
|
29 |
|
30 |
/**
|
31 |
* {@inheritdoc}
|
32 |
*/
|
33 |
public function getNodeVisitors() |
34 |
{
|
35 |
return array(); |
36 |
}
|
37 |
|
38 |
/**
|
39 |
* {@inheritdoc}
|
40 |
*/
|
41 |
public function getFilters() |
42 |
{
|
43 |
return array(); |
44 |
}
|
45 |
|
46 |
/**
|
47 |
* {@inheritdoc}
|
48 |
*/
|
49 |
public function getTests() |
50 |
{
|
51 |
return array(); |
52 |
}
|
53 |
|
54 |
/**
|
55 |
* {@inheritdoc}
|
56 |
*/
|
57 |
public function getFunctions() |
58 |
{
|
59 |
return array(); |
60 |
}
|
61 |
|
62 |
/**
|
63 |
* {@inheritdoc}
|
64 |
*/
|
65 |
public function getOperators() |
66 |
{
|
67 |
return array(); |
68 |
}
|
69 |
|
70 |
/**
|
71 |
* {@inheritdoc}
|
72 |
*
|
73 |
* @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead
|
74 |
*/
|
75 |
public function getGlobals() |
76 |
{
|
77 |
return array(); |
78 |
}
|
79 |
}
|