aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/guards/Composer/Installer/InstallerEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-rpc/php/guards/Composer/Installer/InstallerEvent.php')
-rw-r--r--crates/shirabe-php-rpc/php/guards/Composer/Installer/InstallerEvent.php47
1 files changed, 47 insertions, 0 deletions
diff --git a/crates/shirabe-php-rpc/php/guards/Composer/Installer/InstallerEvent.php b/crates/shirabe-php-rpc/php/guards/Composer/Installer/InstallerEvent.php
new file mode 100644
index 00000000..f35bbccc
--- /dev/null
+++ b/crates/shirabe-php-rpc/php/guards/Composer/Installer/InstallerEvent.php
@@ -0,0 +1,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');
+ }
+}