Méthode | Description | |
---|---|---|
getInstallPath ( Composer\Package\PackageInterface $package ) : string | Returns the installation path of a package | |
install ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | Installs specific package. | |
isInstalled ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) : boolean | Checks that provided package is installed. | |
supports ( string $packageType ) : boolean | Decides if the installer supports the given type | |
uninstall ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | Uninstalls specific package. | |
update ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $initial, Composer\Package\PackageInterface $target ) | Updates specific package. |
public getInstallPath ( Composer\Package\PackageInterface $package ) : string | ||
$package | Composer\Package\PackageInterface | |
Résultat | string | path |
public install ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | ||
$repo | Composer\Repository\InstalledRepositoryInterface | repository in which to check |
$package | Composer\Package\PackageInterface | package instance |
public isInstalled ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) : boolean | ||
$repo | Composer\Repository\InstalledRepositoryInterface | repository in which to check |
$package | Composer\Package\PackageInterface | package instance |
Résultat | boolean |
public uninstall ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | ||
$repo | Composer\Repository\InstalledRepositoryInterface | repository in which to check |
$package | Composer\Package\PackageInterface | package instance |
public update ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $initial, Composer\Package\PackageInterface $target ) | ||
$repo | Composer\Repository\InstalledRepositoryInterface | repository in which to check |
$initial | Composer\Package\PackageInterface | already installed package version |
$target | Composer\Package\PackageInterface | updated version |