1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<?php
// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Guard for Composer\Plugin\PreFileDownloadEvent.
// The Rust side owns this class and the worker has no proxy for it, so this
// declaration shadows the real one: the constants and the hierarchy stay, while
// constructing it or calling anything on it raises an explicit error.
namespace Composer\Plugin;
use Composer\EventDispatcher\Event;
use Composer\Util\HttpDownloader;
class PreFileDownloadEvent extends Event
{
public function __construct(string $name, HttpDownloader $httpDownloader, string $processedUrl, string $type, $context = null)
{
\ShirabeUnsupportedClass::fail(self::class, '__construct');
}
public function getHttpDownloader(): HttpDownloader
{
\ShirabeUnsupportedClass::fail(self::class, 'getHttpDownloader');
}
public function getProcessedUrl(): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getProcessedUrl');
}
public function setProcessedUrl(string $processedUrl): void
{
\ShirabeUnsupportedClass::fail(self::class, 'setProcessedUrl');
}
public function getCustomCacheKey(): ?string
{
\ShirabeUnsupportedClass::fail(self::class, 'getCustomCacheKey');
}
public function setCustomCacheKey(?string $customCacheKey): void
{
\ShirabeUnsupportedClass::fail(self::class, 'setCustomCacheKey');
}
public function getType(): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getType');
}
public function getContext()
{
\ShirabeUnsupportedClass::fail(self::class, 'getContext');
}
public function getTransportOptions(): array
{
\ShirabeUnsupportedClass::fail(self::class, 'getTransportOptions');
}
public function setTransportOptions(array $options): void
{
\ShirabeUnsupportedClass::fail(self::class, 'setTransportOptions');
}
}
|