class PhpDownloader
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\Util\Http\PhpDownloader implements \PHPUnit\Util\Http\Downloader
Expanded class hierarchy of PhpDownloader
1 file declares its use of PhpDownloader
- Application.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Application.php
File
-
vendor/
phpunit/ phpunit/ src/ Util/ Http/ PhpDownloader.php, line 19
Namespace
PHPUnit\Util\HttpView source
final class PhpDownloader implements Downloader {
/**
* @param non-empty-string $url
*/
public function download(string $url) : false|string {
return file_get_contents($url);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
PhpDownloader::download | public | function | Overrides Downloader::download |