$installers
$installers :
Package operation manager.
addInstaller(\Composer\Installer\InstallerInterface $installer)
Adds installer
\Composer\Installer\InstallerInterface | $installer | installer instance |
removeInstaller(\Composer\Installer\InstallerInterface $installer)
Removes installer
\Composer\Installer\InstallerInterface | $installer | installer instance |
getInstaller(string $type) : \Composer\Installer\InstallerInterface
Returns installer for a specific package type.
string | $type | package type |
if installer for provided type is not registered
isPackageInstalled(\Composer\Repository\InstalledRepositoryInterface $repo, \Composer\Package\PackageInterface $package) : boolean
Checks whether provided package is installed in one of the registered installers.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $package | package instance |
ensureBinariesPresence(\Composer\Package\PackageInterface $package)
Install binary for the given package.
If the installer associated to this package doesn't handle that function, it'll do nothing.
\Composer\Package\PackageInterface | $package | Package instance |
execute(\Composer\Repository\RepositoryInterface $repo, \Composer\DependencyResolver\Operation\OperationInterface $operation)
Executes solver operation.
\Composer\Repository\RepositoryInterface | $repo | repository in which to check |
\Composer\DependencyResolver\Operation\OperationInterface | $operation | operation instance |
install(\Composer\Repository\RepositoryInterface $repo, \Composer\DependencyResolver\Operation\InstallOperation $operation)
Executes install operation.
\Composer\Repository\RepositoryInterface | $repo | repository in which to check |
\Composer\DependencyResolver\Operation\InstallOperation | $operation | operation instance |
update(\Composer\Repository\RepositoryInterface $repo, \Composer\DependencyResolver\Operation\UpdateOperation $operation)
Executes update operation.
\Composer\Repository\RepositoryInterface | $repo | repository in which to check |
\Composer\DependencyResolver\Operation\UpdateOperation | $operation | operation instance |
uninstall(\Composer\Repository\RepositoryInterface $repo, \Composer\DependencyResolver\Operation\UninstallOperation $operation)
Uninstalls package.
\Composer\Repository\RepositoryInterface | $repo | repository in which to check |
\Composer\DependencyResolver\Operation\UninstallOperation | $operation | operation instance |
markAliasInstalled(\Composer\Repository\RepositoryInterface $repo, \Composer\DependencyResolver\Operation\MarkAliasInstalledOperation $operation)
Executes markAliasInstalled operation.
\Composer\Repository\RepositoryInterface | $repo | repository in which to check |
\Composer\DependencyResolver\Operation\MarkAliasInstalledOperation | $operation | operation instance |
markAliasUninstalled(\Composer\Repository\RepositoryInterface $repo, \Composer\DependencyResolver\Operation\MarkAliasUninstalledOperation $operation)
Executes markAlias operation.
\Composer\Repository\RepositoryInterface | $repo | repository in which to check |
\Composer\DependencyResolver\Operation\MarkAliasUninstalledOperation | $operation | operation instance |
getInstallPath(\Composer\Package\PackageInterface $package) : string
Returns the installation path of a package
\Composer\Package\PackageInterface | $package |
path
notifyInstalls(\Composer\IO\IOInterface $io)
\Composer\IO\IOInterface | $io |
markForNotification(\Composer\Package\PackageInterface $package)
\Composer\Package\PackageInterface | $package |