MediaWiki REL1_30
|
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.
Implemented in LocalisationUpdate\FileSystemFetcher, LocalisationUpdate\GitHubFetcher, and LocalisationUpdate\HttpFetcher.
LocalisationUpdate\Fetcher::fetchFile | ( | $url | ) |
Fetches a single resource.
Implemented in LocalisationUpdate\FileSystemFetcher, and LocalisationUpdate\HttpFetcher.