Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhpDownloader.php

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\Http
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal