PHP Class LEtudiant\Composer\Installer\Solver\SharedPackageInstallerSolver

Author: Sylvain Lorinet ([email protected])
Inheritance: implements Composer\Installer\InstallerInterface
Afficher le fichier Open project: letudiant/composer-shared-package-plugin

Protected Properties

Свойство Type Description
$defaultInstaller Composer\Installer\LibraryInstaller
$filesystem LEtudiant\Composer\Util\SymlinkFilesystem
$solver SharedPackageSolver
$symlinkInstaller LEtudiant\Composer\Installer\SharedPackageInstaller

Méthodes publiques

Méthode Description
__construct ( SharedPackageSolver $solver, SharedPackageInstaller $symlinkInstaller, Composer\Installer\LibraryInstaller $defaultInstaller )
getInstallPath ( Composer\Package\PackageInterface $package ) : string Returns the installation path of a 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 )

Method Details

__construct() public méthode

public __construct ( SharedPackageSolver $solver, SharedPackageInstaller $symlinkInstaller, Composer\Installer\LibraryInstaller $defaultInstaller )
$solver SharedPackageSolver
$symlinkInstaller LEtudiant\Composer\Installer\SharedPackageInstaller
$defaultInstaller Composer\Installer\LibraryInstaller

getInstallPath() public méthode

Returns the installation path of a package
public getInstallPath ( Composer\Package\PackageInterface $package ) : string
$package Composer\Package\PackageInterface
Résultat string

install() public méthode

public install ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package )
$repo Composer\Repository\InstalledRepositoryInterface
$package Composer\Package\PackageInterface

isInstalled() public méthode

public isInstalled ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) : boolean
$repo Composer\Repository\InstalledRepositoryInterface
$package Composer\Package\PackageInterface
Résultat boolean

supports() public méthode

public supports ( string $packageType ) : boolean
$packageType string
Résultat boolean

uninstall() public méthode

public uninstall ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package )
$repo Composer\Repository\InstalledRepositoryInterface
$package Composer\Package\PackageInterface

update() public méthode

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

Property Details

$defaultInstaller protected_oe property

protected LibraryInstaller,Composer\Installer $defaultInstaller
Résultat Composer\Installer\LibraryInstaller

$filesystem protected_oe property

protected SymlinkFilesystem,LEtudiant\Composer\Util $filesystem
Résultat LEtudiant\Composer\Util\SymlinkFilesystem

$solver protected_oe property

protected SharedPackageSolver,LEtudiant\Composer\Installer\Solver $solver
Résultat SharedPackageSolver

$symlinkInstaller protected_oe property

protected SharedPackageInstaller,LEtudiant\Composer\Installer $symlinkInstaller
Résultat LEtudiant\Composer\Installer\SharedPackageInstaller