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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
<?php
// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Proxy stub for Composer\Package\CompleteAliasPackage: the public surface forwards to the Rust-side entity over RPC.
namespace Composer\Package;
class CompleteAliasPackage extends AliasPackage implements CompletePackageInterface
{
public function __construct(CompletePackage $aliasOf, string $version, string $prettyVersion)
{
[$this->__rhandle, $this->__epoch] = \ShirabeRpcRuntime::callRust(0, '__shirabeConstruct', [static::class, [$aliasOf, $version, $prettyVersion]]);
\ShirabeRustObjectRegistry::adopt($this->__rhandle, $this);
}
public function getScripts(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getScripts', []);
}
public function setScripts(array $scripts): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setScripts', [$scripts]);
}
public function getRepositories(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getRepositories', []);
}
public function setRepositories(array $repositories): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setRepositories', [$repositories]);
}
public function getLicense(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getLicense', []);
}
public function setLicense(array $license): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setLicense', [$license]);
}
public function getKeywords(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getKeywords', []);
}
public function setKeywords(array $keywords): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setKeywords', [$keywords]);
}
public function getDescription(): ?string
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getDescription', []);
}
public function setDescription(?string $description): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setDescription', [$description]);
}
public function getHomepage(): ?string
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getHomepage', []);
}
public function setHomepage(?string $homepage): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setHomepage', [$homepage]);
}
public function getAuthors(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getAuthors', []);
}
public function setAuthors(array $authors): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setAuthors', [$authors]);
}
public function getSupport(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getSupport', []);
}
public function setSupport(array $support): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setSupport', [$support]);
}
public function getFunding(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getFunding', []);
}
public function setFunding(array $funding): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setFunding', [$funding]);
}
public function isAbandoned(): bool
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'isAbandoned', []);
}
public function getReplacementPackage(): ?string
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getReplacementPackage', []);
}
public function setAbandoned($abandoned): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setAbandoned', [$abandoned]);
}
public function getArchiveName(): ?string
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getArchiveName', []);
}
public function setArchiveName(?string $name): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setArchiveName', [$name]);
}
public function getArchiveExcludes(): array
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getArchiveExcludes', []);
}
public function setArchiveExcludes(array $excludes): void
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setArchiveExcludes', [$excludes]);
}
}
|