aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/stubs/Composer/Repository/WritableArrayRepository.php
blob: 8f2b83779338c1346952770b18b163e430b3e960 (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
<?php

// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Proxy stub for Composer\Repository\WritableArrayRepository: the public surface forwards to the Rust-side entity over RPC.

namespace Composer\Repository;

use Composer\Installer\InstallationManager;

class WritableArrayRepository extends ArrayRepository implements WritableRepositoryInterface
{
    public function write(bool $devMode, InstallationManager $installationManager)
    {
        return \ShirabeRpcRuntime::callRust($this->__rhandle, 'write', [$devMode, $installationManager]);
    }

    public function getCanonicalPackages()
    {
        return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getCanonicalPackages', []);
    }

    public function reload()
    {
        return \ShirabeRpcRuntime::callRust($this->__rhandle, 'reload', []);
    }

    public function setDevPackageNames(array $devPackageNames)
    {
        return \ShirabeRpcRuntime::callRust($this->__rhandle, 'setDevPackageNames', [$devPackageNames]);
    }

    public function getDevPackageNames()
    {
        return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getDevPackageNames', []);
    }

    public function getDevMode()
    {
        return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getDevMode', []);
    }
}