blob: 80afe1b758a70260d760063c4b8395635a66f0cd (
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
|
<?php
// Hand-written proxy stub for Composer\Script\Event, kept in the shape the future stub
// generator will output. See Composer/EventDispatcher/Event.php.
namespace Composer\Script;
use Composer\EventDispatcher\Event as BaseEvent;
class Event extends BaseEvent
{
public function getComposer(): \Composer\Composer
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getComposer', []);
}
public function getIO(): \Composer\IO\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;
}
}
|