1 | <?php |
||
14 | class DynamicInterwikiPrefixLoader { |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $enabledExternalRepositoryEndpoints = array(); |
||
20 | |||
21 | /** |
||
22 | * @since 1.0 |
||
23 | * |
||
24 | * @param array $enabledExternalRepositoryEndpoints |
||
25 | */ |
||
26 | 11 | public function __construct( array $enabledExternalRepositoryEndpoints = array() ) { |
|
29 | |||
30 | /** |
||
31 | * @since 1.0 |
||
32 | * |
||
33 | * @param string $prefix |
||
34 | */ |
||
35 | 3 | public function isEnabledPrefixForExternalRepository( $prefix ) { |
|
38 | |||
39 | /** |
||
40 | * @since 1.0 |
||
41 | * |
||
42 | * @param string $prefix |
||
43 | * @param array &$interwiki |
||
44 | */ |
||
45 | 3 | public function tryToLoadIwMapForExternalRepository( $prefix, &$interwiki ) { |
|
64 | |||
65 | } |
||
66 |