diff options
Diffstat (limited to 'crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/Transaction.php')
| -rw-r--r-- | crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/Transaction.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/Transaction.php b/crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/Transaction.php new file mode 100644 index 00000000..e3388d49 --- /dev/null +++ b/crates/shirabe-php-rpc/php/guards/Composer/DependencyResolver/Transaction.php @@ -0,0 +1,39 @@ +<?php + +// Generated by scripts/plugin-stub-generator; do not edit by hand. +// Guard for Composer\DependencyResolver\Transaction. +// 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\DependencyResolver; + +use Composer\Package\Link; + +class Transaction +{ + public function __construct(array $presentPackages, array $resultPackages) + { + \ShirabeUnsupportedClass::fail(self::class, '__construct'); + } + + public function getOperations(): array + { + \ShirabeUnsupportedClass::fail(self::class, 'getOperations'); + } + + protected function calculateOperations(): array + { + \ShirabeUnsupportedClass::fail(self::class, 'calculateOperations'); + } + + protected function getRootPackages(): array + { + \ShirabeUnsupportedClass::fail(self::class, 'getRootPackages'); + } + + protected function getProvidersInResult(Link $link): array + { + \ShirabeUnsupportedClass::fail(self::class, 'getProvidersInResult'); + } +} |
