diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-03 19:26:54 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-03 19:26:54 +0200 |
commit | 4f5b44bd3bd490309eb2ba7b44df4769816ba729 (patch) | |
tree | 6cefe170dfe0a5a361cb1e2d1fc4d580a3316d02 /inc/3rdparty/Twig/TemplateInterface.php | |
parent | 2b840e0cfb63a453bea67a98541f3df9c273c5f5 (diff) | |
download | wallabag-4f5b44bd3bd490309eb2ba7b44df4769816ba729.tar.gz wallabag-4f5b44bd3bd490309eb2ba7b44df4769816ba729.tar.zst wallabag-4f5b44bd3bd490309eb2ba7b44df4769816ba729.zip |
twig implementation
Diffstat (limited to 'inc/3rdparty/Twig/TemplateInterface.php')
-rw-r--r-- | inc/3rdparty/Twig/TemplateInterface.php | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/inc/3rdparty/Twig/TemplateInterface.php b/inc/3rdparty/Twig/TemplateInterface.php deleted file mode 100644 index 879f503e..00000000 --- a/inc/3rdparty/Twig/TemplateInterface.php +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
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 | |||
12 | /** | ||
13 | * Interface implemented by all compiled templates. | ||
14 | * | ||
15 | * @author Fabien Potencier <fabien@symfony.com> | ||
16 | * @deprecated since 1.12 (to be removed in 2.0) | ||
17 | */ | ||
18 | interface Twig_TemplateInterface | ||
19 | { | ||
20 | const ANY_CALL = 'any'; | ||
21 | const ARRAY_CALL = 'array'; | ||
22 | const METHOD_CALL = 'method'; | ||
23 | |||
24 | /** | ||
25 | * Renders the template with the given context and returns it as string. | ||
26 | * | ||
27 | * @param array $context An array of parameters to pass to the template | ||
28 | * | ||
29 | * @return string The rendered template | ||
30 | */ | ||
31 | public function render(array $context); | ||
32 | |||
33 | /** | ||
34 | * Displays the template with the given context. | ||
35 | * | ||
36 | * @param array $context An array of parameters to pass to the template | ||
37 | * @param array $blocks An array of blocks to pass to the template | ||
38 | */ | ||
39 | public function display(array $context, array $blocks = array()); | ||
40 | |||
41 | /** | ||
42 | * Returns the bound environment for this template. | ||
43 | * | ||
44 | * @return Twig_Environment The current environment | ||
45 | */ | ||
46 | public function getEnvironment(); | ||
47 | } | ||