function PreFileDownloadEvent::__construct
Constructor.
Parameters
string $name The event name:
mixed $context:
non-empty-string $processedUrl:
Overrides Event::__construct
File
-
vendor/
composer/ composer/ src/ Composer/ Plugin/ PreFileDownloadEvent.php, line 62
Class
- PreFileDownloadEvent
- The pre file download event.
Namespace
Composer\PluginCode
public function __construct(string $name, HttpDownloader $httpDownloader, string $processedUrl, string $type, $context = null) {
parent::__construct($name);
$this->httpDownloader = $httpDownloader;
$this->processedUrl = $processedUrl;
$this->type = $type;
$this->context = $context;
}