MediaWiki  1.32.5
ExternalStoreForTesting Class Reference

Public Member Functions

 fetchFromURL ( $url)
 Fetch data from given URL. More...
 

Protected Attributes

 $data
 

Detailed Description

Definition at line 3 of file ExternalStoreForTesting.php.

Member Function Documentation

◆ fetchFromURL()

ExternalStoreForTesting::fetchFromURL (   $url)

Fetch data from given URL.

Parameters
string$urlAn url of the form FOO://cluster/id or FOO://cluster/id/itemid.
Returns
mixed

Definition at line 21 of file ExternalStoreForTesting.php.

References $path, and data.

Member Data Documentation

◆ $data

ExternalStoreForTesting::$data
protected
Initial value:
= [
'cluster1' => [
'200' => 'Hello',
'300' => [
'Hello', 'World',
],
'12345' => "sttttr\002\022\000",
],
]

Definition at line 5 of file ExternalStoreForTesting.php.


The documentation for this class was generated from the following file: