function InstallerInterface::getInstallPath
Returns the absolute installation path of a package.
Return value
string|null absolute path to install to, which MUST not end with a slash, or null if the package does not have anything installed on disk
4 methods override InstallerInterface::getInstallPath()
- LibraryInstaller::getInstallPath in vendor/
composer/ composer/ src/ Composer/ Installer/ LibraryInstaller.php - @inheritDoc
- MetapackageInstaller::getInstallPath in vendor/
composer/ composer/ src/ Composer/ Installer/ MetapackageInstaller.php - @inheritDoc
- NoopInstaller::getInstallPath in vendor/
composer/ composer/ src/ Composer/ Installer/ NoopInstaller.php - @inheritDoc
- ProjectInstaller::getInstallPath in vendor/
composer/ composer/ src/ Composer/ Installer/ ProjectInstaller.php - Returns the installation path of a package
File
-
vendor/
composer/ composer/ src/ Composer/ Installer/ InstallerInterface.php, line 123
Class
- InstallerInterface
- Interface for the package installation manager.
Namespace
Composer\InstallerCode
public function getInstallPath(PackageInterface $package);