blob: f35bbccc34321fa7ca405164b2e1d60d113e39fb (
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
40
41
42
43
44
45
46
47
|
<?php
// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Guard for Composer\Installer\InstallerEvent.
// 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\Installer;
use Composer\Composer;
use Composer\DependencyResolver\Transaction;
use Composer\EventDispatcher\Event;
use Composer\IO\IOInterface;
class InstallerEvent extends Event
{
public function __construct(string $eventName, Composer $composer, IOInterface $io, bool $devMode, bool $executeOperations, Transaction $transaction)
{
\ShirabeUnsupportedClass::fail(self::class, '__construct');
}
public function getComposer(): Composer
{
\ShirabeUnsupportedClass::fail(self::class, 'getComposer');
}
public function getIO(): IOInterface
{
\ShirabeUnsupportedClass::fail(self::class, 'getIO');
}
public function isDevMode(): bool
{
\ShirabeUnsupportedClass::fail(self::class, 'isDevMode');
}
public function isExecutingOperations(): bool
{
\ShirabeUnsupportedClass::fail(self::class, 'isExecutingOperations');
}
public function getTransaction(): ?Transaction
{
\ShirabeUnsupportedClass::fail(self::class, 'getTransaction');
}
}
|