4 * @author Niklas Laxström
8 namespace LocalisationUpdate;
11 * Interface for classes which fetch files over different protocols and ways.
15 * Fetches a single resource.
17 * @return bool|string False on failure.
19 public function fetchFile( $url );
22 * Fetch a list of resources. This has the benefit of being able to pick up
23 * new languages as they appear if languages are stored in separate files.
27 public function fetchDirectory( $pattern );