aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/guards/Composer/Plugin/CommandEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-rpc/php/guards/Composer/Plugin/CommandEvent.php')
-rw-r--r--crates/shirabe-php-rpc/php/guards/Composer/Plugin/CommandEvent.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/crates/shirabe-php-rpc/php/guards/Composer/Plugin/CommandEvent.php b/crates/shirabe-php-rpc/php/guards/Composer/Plugin/CommandEvent.php
new file mode 100644
index 00000000..df84c294
--- /dev/null
+++ b/crates/shirabe-php-rpc/php/guards/Composer/Plugin/CommandEvent.php
@@ -0,0 +1,36 @@
+<?php
+
+// Generated by scripts/plugin-stub-generator; do not edit by hand.
+// Guard for Composer\Plugin\CommandEvent.
+// 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\Plugin;
+
+use Composer\EventDispatcher\Event;
+use Symfony\Component\Console\Input\InputInterface;
+use Symfony\Component\Console\Output\OutputInterface;
+
+class CommandEvent extends Event
+{
+ public function __construct(string $name, string $commandName, InputInterface $input, OutputInterface $output, array $args = [], array $flags = [])
+ {
+ \ShirabeUnsupportedClass::fail(self::class, '__construct');
+ }
+
+ public function getInput(): InputInterface
+ {
+ \ShirabeUnsupportedClass::fail(self::class, 'getInput');
+ }
+
+ public function getOutput(): OutputInterface
+ {
+ \ShirabeUnsupportedClass::fail(self::class, 'getOutput');
+ }
+
+ public function getCommandName(): string
+ {
+ \ShirabeUnsupportedClass::fail(self::class, 'getCommandName');
+ }
+}