PHP Класс LEtudiant\Composer\Installer\Solver\SharedPackageInstallerSolver

Автор: Sylvain Lorinet ([email protected])
Наследование: implements Composer\Installer\InstallerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$defaultInstaller Composer\Installer\LibraryInstaller
$filesystem LEtudiant\Composer\Util\SymlinkFilesystem
$solver SharedPackageSolver
$symlinkInstaller LEtudiant\Composer\Installer\SharedPackageInstaller

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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

getInstallPath() публичный Метод

Returns the installation path of a package
public getInstallPath ( Composer\Package\PackageInterface $package ) : string
$package Composer\Package\PackageInterface
Результат string

install() публичный Метод

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

isInstalled() публичный Метод

public isInstalled ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) : boolean
$repo Composer\Repository\InstalledRepositoryInterface
$package Composer\Package\PackageInterface
Результат boolean

supports() публичный Метод

public supports ( string $packageType ) : boolean
$packageType string
Результат boolean

uninstall() публичный Метод

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

update() публичный Метод

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

Описание свойств

$defaultInstaller защищенное свойство

protected LibraryInstaller,Composer\Installer $defaultInstaller
Результат Composer\Installer\LibraryInstaller

$filesystem защищенное свойство

protected SymlinkFilesystem,LEtudiant\Composer\Util $filesystem
Результат LEtudiant\Composer\Util\SymlinkFilesystem

$solver защищенное свойство

protected SharedPackageSolver,LEtudiant\Composer\Installer\Solver $solver
Результат SharedPackageSolver

$symlinkInstaller защищенное свойство

protected SharedPackageInstaller,LEtudiant\Composer\Installer $symlinkInstaller
Результат LEtudiant\Composer\Installer\SharedPackageInstaller