MediaWiki REL1_34
|
Interface for classes which fetch files over different protocols and ways. More...
Public Member Functions | |
fetchDirectory ( $pattern) | |
Fetch a list of resources. | |
fetchFile ( $url) | |
Fetches a single resource. | |
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\GitHubFetcher, and LocalisationUpdate\HttpFetcher.
LocalisationUpdate\Fetcher::fetchFile | ( | $url | ) |
Fetches a single resource.
string | $url |
Implemented in LocalisationUpdate\FileSystemFetcher, and LocalisationUpdate\HttpFetcher.