PHP Class rg\broker\customizations\PearInstaller

Author: Nino Wagensonner ([email protected])
Inheritance: extends Composer\Installer\PearInstaller
Mostra file Open project: researchgate/broker

Public Methods

Method Description
install ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) switch type to library since otherwise the extraction of the cache does not work as it is supposed to
update ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $initial, Composer\Package\PackageInterface $target ) switch type to library since otherwise the extraction of the cache does not work as it is supposed to

Protected Methods

Method Description
getBinaries ( Composer\Package\PackageInterface $package ) : array add pear binary list to package, in order to generate binary entries in the resulting packages.json file

Method Details

getBinaries() protected method

add pear binary list to package, in order to generate binary entries in the resulting packages.json file
protected getBinaries ( Composer\Package\PackageInterface $package ) : array
$package Composer\Package\PackageInterface
return array

install() public method

{@inheritDoc}
public install ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package )
$repo Composer\Repository\InstalledRepositoryInterface
$package Composer\Package\PackageInterface

update() public method

{@inheritDoc}
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