1 | <?php |
||
14 | class Twig extends Extractor implements ExtractorInterface |
||
15 | { |
||
16 | public static $options = [ |
||
17 | 'twig' => null, |
||
18 | ]; |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public static function fromString($string, Translations $translations, array $options = []) |
||
31 | |||
32 | /** |
||
33 | * Returns a Twig instance. |
||
34 | * |
||
35 | * @return Twig_Environment |
||
36 | */ |
||
37 | private static function createTwig() |
||
44 | } |
||
45 |