aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/stubs/Composer/IO/BufferIO.php
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-rpc/php/stubs/Composer/IO/BufferIO.php')
-rw-r--r--crates/shirabe-php-rpc/php/stubs/Composer/IO/BufferIO.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/crates/shirabe-php-rpc/php/stubs/Composer/IO/BufferIO.php b/crates/shirabe-php-rpc/php/stubs/Composer/IO/BufferIO.php
new file mode 100644
index 00000000..e95fb2da
--- /dev/null
+++ b/crates/shirabe-php-rpc/php/stubs/Composer/IO/BufferIO.php
@@ -0,0 +1,19 @@
+<?php
+
+// Hand-written proxy stub for Composer\IO\BufferIO, kept in the shape the future stub
+// generator will output.
+
+namespace Composer\IO;
+
+class BufferIO extends ConsoleIO
+{
+ public function getOutput(): string
+ {
+ return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getOutput', []);
+ }
+
+ public function setUserInputs(array $inputs): void
+ {
+ \ShirabeRpcRuntime::callRust($this->__rhandle, 'setUserInputs', [$inputs]);
+ }
+}