Documentation

LibraryInstaller
in package
implements InstallerInterface, BinaryPresenceInterface

Package installation manager.

Tags
author

Jordi Boggiano j.boggiano@seld.be

author

Konstantin Kudryashov ever.zet@gmail.com

Interfaces, Classes and Traits

InstallerInterface
Interface for the package installation manager.
BinaryPresenceInterface
Interface for the package installation manager that handle binary installation.

Table of Contents

$binaryInstaller  : mixed
$binCompat  : mixed
$binDir  : mixed
$composer  : mixed
$downloadManager  : mixed
$filesystem  : mixed
$io  : mixed
$type  : mixed
$vendorDir  : mixed
__construct()  : mixed
Initializes library installer.
ensureBinariesPresence()  : mixed
Make sure binaries are installed for a given package.
getInstallPath()  : string
Returns the installation path of a package
install()  : mixed
Installs specific package.
isInstalled()  : bool
Checks that provided package is installed.
supports()  : bool
Decides if the installer supports the given type
uninstall()  : mixed
Uninstalls specific package.
update()  : mixed
Updates specific package.
getPackageBasePath()  : string
Returns the base path of the package without target-dir path
initializeVendorDir()  : mixed
installCode()  : mixed
removeCode()  : mixed
updateCode()  : mixed

Properties

Methods

supports()

Decides if the installer supports the given type

public supports(mixed $packageType) : bool
Parameters
$packageType : mixed
Return values
bool

getPackageBasePath()

Returns the base path of the package without target-dir path

protected getPackageBasePath(PackageInterface $package) : string

It is used for BC as getInstallPath tends to be overridden by installer plugins but not getPackageBasePath

Parameters
$package : PackageInterface
Return values
string

initializeVendorDir()

protected initializeVendorDir() : mixed
Return values
mixed

Search results