Documentation

InstallationManager
in package

Package operation manager.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

author

Jordi Boggiano j.boggiano@seld.be

author

Nils Adermann naderman@naderman.de

Table of Contents

$cache  : mixed
$installers  : mixed
$notifiablePackages  : mixed
addInstaller()  : mixed
Adds installer
disablePlugins()  : mixed
Disables plugins.
ensureBinariesPresence()  : mixed
Install binary for the given package.
execute()  : mixed
Executes solver operation.
getInstaller()  : InstallerInterface
Returns installer for a specific package type.
getInstallPath()  : string
Returns the installation path of a package
install()  : mixed
Executes install operation.
isPackageInstalled()  : bool
Checks whether provided package is installed in one of the registered installers.
markAliasInstalled()  : mixed
Executes markAliasInstalled operation.
markAliasUninstalled()  : mixed
Executes markAlias operation.
notifyInstalls()  : mixed
removeInstaller()  : mixed
Removes installer
reset()  : mixed
uninstall()  : mixed
Uninstalls package.
update()  : mixed
Executes update operation.
markForNotification()  : mixed

Properties

Methods

disablePlugins()

Disables plugins.

public disablePlugins() : mixed

We prevent any plugins from being instantiated by simply deactivating the installer for them. This ensure that no third-party code is ever executed.

Return values
mixed

ensureBinariesPresence()

Install binary for the given package.

public ensureBinariesPresence(PackageInterface $package) : mixed

If the installer associated to this package doesn't handle that function, it'll do nothing.

Parameters
$package : PackageInterface

Package instance

Return values
mixed

getInstaller()

Returns installer for a specific package type.

public getInstaller(string $type) : InstallerInterface
Parameters
$type : string

package type

Tags
throws
InvalidArgumentException

if installer for provided type is not registered

Return values
InstallerInterface

Search results