$installPath
$installPath :
Project Installer is used to install a single package into a directory as root project.
__construct( $installPath, \Composer\Downloader\DownloadManager $dm)
$installPath | ||
\Composer\Downloader\DownloadManager | $dm |
isInstalled(\Composer\Repository\InstalledRepositoryInterface $repo, \Composer\Package\PackageInterface $package) : boolean
Checks that provided package is installed.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $package | package instance |
install(\Composer\Repository\InstalledRepositoryInterface $repo, \Composer\Package\PackageInterface $package)
Installs specific package.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $package | package instance |
update(\Composer\Repository\InstalledRepositoryInterface $repo, \Composer\Package\PackageInterface $initial, \Composer\Package\PackageInterface $target)
Updates specific package.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $initial | already installed package version |
\Composer\Package\PackageInterface | $target | updated version |
uninstall(\Composer\Repository\InstalledRepositoryInterface $repo, \Composer\Package\PackageInterface $package)
Uninstalls specific package.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $package | package instance |
getInstallPath(\Composer\Package\PackageInterface $package) : string
Returns the installation path of a package
\Composer\Package\PackageInterface | $package |
path