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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
<?php
// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Guard for Composer\Factory.
// 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;
use Composer\IO\IOInterface;
use Composer\Package\Version\VersionGuesser;
use Composer\Package\RootPackageInterface;
use Composer\Repository\RepositoryManager;
use Composer\Util\ProcessExecutor;
use Composer\Util\HttpDownloader;
use Composer\Util\Loop;
use Symfony\Component\Console\Output\ConsoleOutput;
use Composer\EventDispatcher\EventDispatcher;
use Composer\Package\Version\VersionParser;
use Composer\Repository\InstalledRepositoryInterface;
class Factory
{
public function __construct()
{
\ShirabeUnsupportedClass::fail(self::class, '__construct');
}
protected static function getHomeDir(): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getHomeDir');
}
protected static function getCacheDir(string $home): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getCacheDir');
}
protected static function getDataDir(string $home): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getDataDir');
}
public static function createConfig(?IOInterface $io = null, ?string $cwd = null): Config
{
\ShirabeUnsupportedClass::fail(self::class, 'createConfig');
}
public static function getComposerFile(): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getComposerFile');
}
public static function getLockFile(string $composerFile): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getLockFile');
}
public static function createAdditionalStyles(): array
{
\ShirabeUnsupportedClass::fail(self::class, 'createAdditionalStyles');
}
public static function createOutput(): ConsoleOutput
{
\ShirabeUnsupportedClass::fail(self::class, 'createOutput');
}
public function createComposer(IOInterface $io, $localConfig = null, $disablePlugins = false, ?string $cwd = null, bool $fullLoad = true, bool $disableScripts = false)
{
\ShirabeUnsupportedClass::fail(self::class, 'createComposer');
}
public static function createGlobal(IOInterface $io, bool $disablePlugins = false, bool $disableScripts = false): ?Composer
{
\ShirabeUnsupportedClass::fail(self::class, 'createGlobal');
}
protected function addLocalRepository(IOInterface $io, RepositoryManager $rm, string $vendorDir, RootPackageInterface $rootPackage, ?ProcessExecutor $process = null): void
{
\ShirabeUnsupportedClass::fail(self::class, 'addLocalRepository');
}
protected function createGlobalComposer(IOInterface $io, Config $config, $disablePlugins, bool $disableScripts, bool $fullLoad = false): ?PartialComposer
{
\ShirabeUnsupportedClass::fail(self::class, 'createGlobalComposer');
}
public function createDownloadManager(IOInterface $io, Config $config, HttpDownloader $httpDownloader, ProcessExecutor $process, ?EventDispatcher $eventDispatcher = null): \Composer\Downloader\DownloadManager
{
\ShirabeUnsupportedClass::fail(self::class, 'createDownloadManager');
}
public function createArchiveManager(Config $config, \Composer\Downloader\DownloadManager $dm, Loop $loop)
{
\ShirabeUnsupportedClass::fail(self::class, 'createArchiveManager');
}
protected function createPluginManager(IOInterface $io, Composer $composer, ?PartialComposer $globalComposer = null, $disablePlugins = false): \Composer\Plugin\PluginManager
{
\ShirabeUnsupportedClass::fail(self::class, 'createPluginManager');
}
public function createInstallationManager(Loop $loop, IOInterface $io, ?EventDispatcher $eventDispatcher = null): \Composer\Installer\InstallationManager
{
\ShirabeUnsupportedClass::fail(self::class, 'createInstallationManager');
}
protected function createDefaultInstallers(\Composer\Installer\InstallationManager $im, PartialComposer $composer, IOInterface $io, ?ProcessExecutor $process = null): void
{
\ShirabeUnsupportedClass::fail(self::class, 'createDefaultInstallers');
}
protected function purgePackages(InstalledRepositoryInterface $repo, \Composer\Installer\InstallationManager $im): void
{
\ShirabeUnsupportedClass::fail(self::class, 'purgePackages');
}
protected function loadRootPackage(RepositoryManager $rm, Config $config, VersionParser $parser, VersionGuesser $guesser, IOInterface $io): \Composer\Package\Loader\RootPackageLoader
{
\ShirabeUnsupportedClass::fail(self::class, 'loadRootPackage');
}
public static function create(IOInterface $io, $config = null, $disablePlugins = false, bool $disableScripts = false): Composer
{
\ShirabeUnsupportedClass::fail(self::class, 'create');
}
public static function createHttpDownloader(IOInterface $io, Config $config, array $options = []): HttpDownloader
{
\ShirabeUnsupportedClass::fail(self::class, 'createHttpDownloader');
}
}
|