Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 365 Bytes
<?php
declare( strict_types=1 );
namespace FileFetcher;
/**
* @since 3.0, scalar type hints since 4.0
*
* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface FileFetcher {
/**
* Returns the contents of the specified file.
* @throws FileFetchingException
*/
public function fetchFile( string $fileUrl ): string;
}