blob: a93d0dfc83fb05884b5f29bd28555ab53ff24de9 (
plain)
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
|
<?php
// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Proxy stub for Composer\Script\Event: the public surface forwards to the Rust-side entity over RPC.
namespace Composer\Script;
use Composer\Composer;
use Composer\IO\IOInterface;
use Composer\EventDispatcher\Event as BaseEvent;
class Event extends BaseEvent
{
public function getComposer(): Composer
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getComposer', []);
}
public function getIO(): IOInterface
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getIO', []);
}
public function isDevMode(): bool
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'isDevMode', []);
}
public function getOriginatingEvent(): ?BaseEvent
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getOriginatingEvent', []);
}
public function setOriginatingEvent(BaseEvent $event): self
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'setOriginatingEvent', [$event]);
return $this;
}
}
|