1 | <?php |
||
11 | class Twig |
||
12 | { |
||
13 | /** |
||
14 | * @var \Twig_Environment |
||
15 | */ |
||
16 | protected $twigEnv; |
||
17 | |||
18 | /** |
||
19 | * @param array $baseDirs |
||
20 | */ |
||
21 | public function __construct(array $baseDirs) |
||
28 | |||
29 | /** |
||
30 | * @param string $filename |
||
31 | * @param array $variables |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function render($filename, $variables) |
||
39 | |||
40 | /** |
||
41 | * @param string $string |
||
42 | * @param array $variables |
||
43 | * |
||
44 | * @return string |
||
45 | */ |
||
46 | public function renderString($string, $variables) |
||
55 | |||
56 | /** |
||
57 | * @param Twig_Environment $twig |
||
58 | */ |
||
59 | protected function addFilters(Twig_Environment $twig) |
||
68 | |||
69 | /** |
||
70 | * @param Twig_Environment $twig |
||
71 | */ |
||
72 | protected function addExtensions(Twig_Environment $twig) |
||
76 | |||
77 | /** |
||
78 | * @param stdClass $stdClassObject |
||
79 | * |
||
80 | * @return array |
||
81 | */ |
||
82 | public static function filterCastToArray($stdClassObject) |
||
93 | } |
||
94 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.