MediaWiki
1.34.0
|
Interface for classes which fetch files over different protocols and ways. More...
Public Member Functions | |
fetchDirectory ( $pattern) | |
Fetch a list of resources. More... | |
fetchFile ( $url) | |
Fetches a single resource. More... | |
Interface for classes which fetch files over different protocols and ways.
Definition at line 13 of file Fetcher.php.
LocalisationUpdate\Fetcher::fetchDirectory | ( | $pattern | ) |
Fetch a list of resources.
This has the benefit of being able to pick up new languages as they appear if languages are stored in separate files.
string | $pattern |
Implemented in LocalisationUpdate\FileSystemFetcher, LocalisationUpdate\HttpFetcher, and LocalisationUpdate\GitHubFetcher.
LocalisationUpdate\Fetcher::fetchFile | ( | $url | ) |
Fetches a single resource.
string | $url |
Implemented in LocalisationUpdate\FileSystemFetcher, and LocalisationUpdate\HttpFetcher.