| 1 | <?php |
||
| 11 | class JsCode extends Extractor implements ExtractorInterface |
||
| 12 | { |
||
| 13 | public static $options = [ |
||
| 14 | 'constants' => [], |
||
| 15 | |||
| 16 | 'functions' => [ |
||
| 17 | 'gettext' => 'gettext', |
||
| 18 | '__' => 'gettext', |
||
| 19 | 'ngettext' => 'ngettext', |
||
| 20 | 'n__' => 'ngettext', |
||
| 21 | 'pgettext' => 'pgettext', |
||
| 22 | 'p__' => 'pgettext', |
||
| 23 | 'dgettext' => 'dgettext', |
||
| 24 | 'd__' => 'dgettext', |
||
| 25 | 'dpgettext' => 'dpgettext', |
||
| 26 | 'dp__' => 'dpgettext', |
||
| 27 | 'npgettext' => 'npgettext', |
||
| 28 | 'np__' => 'npgettext', |
||
| 29 | 'dnpgettext' => 'dnpgettext', |
||
| 30 | 'dnp__' => 'dnpgettext', |
||
| 31 | 'noop' => 'noop', |
||
| 32 | 'noop__' => 'noop', |
||
| 33 | ], |
||
| 34 | ]; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public static function fromString($string, Translations $translations, array $options = []) |
||
| 46 | } |
||
| 47 |