1 | <?php |
||
16 | class AnnotatedLanguageParserFunction { |
||
17 | |||
18 | /** |
||
19 | * @var InterlanguageLinksLookup |
||
20 | */ |
||
21 | private $interlanguageLinksLookup; |
||
22 | |||
23 | /** |
||
24 | * @since 1.0 |
||
25 | * |
||
26 | * @param InterlanguageLinksLookup $interlanguageLinksLookup |
||
27 | */ |
||
28 | 4 | public function __construct( InterlanguageLinksLookup $interlanguageLinksLookup ) { |
|
29 | 4 | $this->interlanguageLinksLookup = $interlanguageLinksLookup; |
|
30 | 4 | } |
|
31 | |||
32 | /** |
||
33 | * @since 1.0 |
||
34 | * |
||
35 | * @param Title $source |
||
36 | * @param string $template |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | 3 | public function parse( Title $source, $template ) { |
|
66 | |||
67 | 1 | private function createTemplateInclusionCode( $source, $languageCode, $template ) { |
|
81 | |||
82 | 1 | private function modifyTargetLink( $targetLink ) { |
|
90 | |||
91 | } |
||
92 |