Свойство | Type | Description | |
---|---|---|---|
$config | |||
$filesystem | |||
$packageDataManager | LEtudiant\Composer\Data\Package\PackageDataManagerInterface |
Méthode | Description | |
---|---|---|
__construct ( Composer\IO\IOInterface $io, Composer\Composer $composer, |
||
getInstallPath ( Composer\Package\PackageInterface $package ) | ||
install ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | ||
isInstalled ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) : boolean | ||
supports ( string $packageType ) : boolean | ||
uninstall ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | ||
update ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $initial, Composer\Package\PackageInterface $target ) |
Méthode | Description | |
---|---|---|
createPackageVendorSymlink ( Composer\Package\PackageInterface $package ) | ||
getPackageVendorSymlink ( Composer\Package\PackageInterface $package ) : string | ||
getSymlinkSourcePath ( Composer\Package\PackageInterface $package ) : string | ||
isSourceDirUnused ( Composer\Package\PackageInterface $package ) : boolean | Detect if other project use the dependency by using the "packages.json" file | |
removePackageVendorSymlink ( Composer\Package\PackageInterface $package ) |
public __construct ( Composer\IO\IOInterface $io, Composer\Composer $composer, |
||
$io | Composer\IO\IOInterface | |
$composer | Composer\Composer | |
$filesystem | ||
$dataManager | LEtudiant\Composer\Data\Package\PackageDataManagerInterface | |
$config |
protected createPackageVendorSymlink ( Composer\Package\PackageInterface $package ) | ||
$package | Composer\Package\PackageInterface |
public getInstallPath ( Composer\Package\PackageInterface $package ) | ||
$package | Composer\Package\PackageInterface |
protected getPackageVendorSymlink ( Composer\Package\PackageInterface $package ) : string | ||
$package | Composer\Package\PackageInterface | |
Résultat | string |
protected getSymlinkSourcePath ( Composer\Package\PackageInterface $package ) : string | ||
$package | Composer\Package\PackageInterface | |
Résultat | string |
public install ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | ||
$repo | Composer\Repository\InstalledRepositoryInterface | |
$package | Composer\Package\PackageInterface |
public isInstalled ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) : boolean | ||
$repo | Composer\Repository\InstalledRepositoryInterface | |
$package | Composer\Package\PackageInterface | |
Résultat | boolean |
protected isSourceDirUnused ( Composer\Package\PackageInterface $package ) : boolean | ||
$package | Composer\Package\PackageInterface | |
Résultat | boolean |
protected removePackageVendorSymlink ( Composer\Package\PackageInterface $package ) | ||
$package | Composer\Package\PackageInterface |
public uninstall ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) | ||
$repo | Composer\Repository\InstalledRepositoryInterface | |
$package | Composer\Package\PackageInterface |
public update ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $initial, Composer\Package\PackageInterface $target ) | ||
$repo | Composer\Repository\InstalledRepositoryInterface | |
$initial | Composer\Package\PackageInterface | |
$target | Composer\Package\PackageInterface |
protected SharedPackageInstallerConfig,LEtudiant\Composer\Installer\Config $config | ||
Résultat |
protected SymlinkFilesystem,LEtudiant\Composer\Util $filesystem | ||
Résultat |