createConfig()
createConfig(\Composer\IO\IOInterface|null $io = null, $cwd = null) : \Composer\Config
Parameters
\Composer\IO\IOInterface|null | $io | |
$cwd |
Creates a configured instance of composer.
createConfig(\Composer\IO\IOInterface|null $io = null, $cwd = null) : \Composer\Config
\Composer\IO\IOInterface|null | $io | |
$cwd |
createOutput() : \Symfony\Component\Console\Output\ConsoleOutput
Creates a ConsoleOutput instance
createDefaultRepositories(\Composer\IO\IOInterface $io = null, \Composer\Config $config = null, \Composer\Repository\RepositoryManager $rm = null)
\Composer\IO\IOInterface | $io | |
\Composer\Config | $config | |
\Composer\Repository\RepositoryManager | $rm |
createComposer(\Composer\IO\IOInterface $io, array|string|null $localConfig = null, boolean $disablePlugins = false, $cwd = null, boolean $fullLoad = true) : \Composer\Composer
Creates a Composer instance
\Composer\IO\IOInterface | $io | IO instance |
array|string|null | $localConfig | either a configuration array or a filename to read from, if null it will read from the default filename |
boolean | $disablePlugins | Whether plugins should not be loaded |
$cwd | ||
boolean | $fullLoad | Whether to initialize everything or only main project stuff (used when loading the global composer) |
None found |
createGlobal(\Composer\IO\IOInterface $io, boolean $disablePlugins = false) : \Composer\Composer
\Composer\IO\IOInterface | $io | IO instance |
boolean | $disablePlugins | Whether plugins should not be loaded |
None found |
createDownloadManager(\Composer\IO\IOInterface $io, \Composer\Config $config, \Composer\EventDispatcher\EventDispatcher $eventDispatcher = null, \Composer\Util\RemoteFilesystem $rfs = null) : \Composer\Downloader\DownloadManager
\Composer\IO\IOInterface | $io | |
\Composer\Config | $config | |
\Composer\EventDispatcher\EventDispatcher | $eventDispatcher | |
\Composer\Util\RemoteFilesystem | $rfs |
None found |
createArchiveManager(\Composer\Config $config, \Composer\Downloader\DownloadManager $dm = null) : \Composer\Package\Archiver\ArchiveManager
\Composer\Config | $config | The configuration |
\Composer\Downloader\DownloadManager | $dm | Manager use to download sources |
None found |
create(\Composer\IO\IOInterface $io, mixed $config = null, boolean $disablePlugins = false) : \Composer\Composer
\Composer\IO\IOInterface | $io | IO instance |
mixed | $config | either a configuration array or a filename to read from, if null it will read from the default filename |
boolean | $disablePlugins | Whether plugins should not be loaded |
None found |
createRemoteFilesystem(\Composer\IO\IOInterface $io, \Composer\Config $config = null, array $options = array()) : \Composer\Util\RemoteFilesystem
\Composer\IO\IOInterface | $io | IO instance |
\Composer\Config | $config | Config instance |
array | $options | Array of options passed directly to RemoteFilesystem constructor |
None found |
None found |
None found |
None found |
addLocalRepository(\Composer\IO\IOInterface $io, \Composer\Repository\RepositoryManager $rm, string $vendorDir)
\Composer\IO\IOInterface | $io | |
\Composer\Repository\RepositoryManager | $rm | |
string | $vendorDir |
None found |
createGlobalComposer(\Composer\IO\IOInterface $io, \Composer\Config $config, $disablePlugins, $fullLoad = false) : \Composer\Composer|null
\Composer\IO\IOInterface | $io | |
\Composer\Config | $config | |
$disablePlugins | ||
$fullLoad |
None found |
createPluginManager(\Composer\IO\IOInterface $io, \Composer\Composer $composer, \Composer\Composer $globalComposer = null, boolean $disablePlugins = false) : \Composer\Plugin\PluginManager
\Composer\IO\IOInterface | $io | |
\Composer\Composer | $composer | |
\Composer\Composer | $globalComposer | |
boolean | $disablePlugins |
None found |
createInstallationManager() : \Composer\Installer\InstallationManager
None found |
createDefaultInstallers(\Composer\Installer\InstallationManager $im, \Composer\Composer $composer, \Composer\IO\IOInterface $io)
\Composer\Installer\InstallationManager | $im | |
\Composer\Composer | $composer | |
\Composer\IO\IOInterface | $io |
None found |
purgePackages(\Composer\Repository\WritableRepositoryInterface $repo, \Composer\Installer\InstallationManager $im)
\Composer\Repository\WritableRepositoryInterface | $repo | repository to purge packages from |
\Composer\Installer\InstallationManager | $im | manager to check whether packages are still installed |
None found |
None found |
None found |