class BinaryInstaller (View source)

Utility to handle installation of package "bin"/binaries

Properties

protected $binDir
protected $binCompat
protected $io
protected $filesystem

Methods

__construct(IOInterface $io, string $binDir, string $binCompat, Filesystem $filesystem = null)

No description

installBinaries(PackageInterface $package, $installPath, $warnOnOverwrite = true)

No description

removeBinaries(PackageInterface $package)

No description

static 
determineBinaryCaller($bin)

No description

getBinaries(PackageInterface $package)

No description

installFullBinaries($binPath, $link, $bin, PackageInterface $package)

No description

installSymlinkBinaries($binPath, $link)

No description

installUnixyProxyBinaries($binPath, $link)

No description

initializeBinDir()

No description

generateWindowsProxyCode($bin, $link)

No description

generateUnixyProxyCode($bin, $link)

No description

Details

__construct(IOInterface $io, string $binDir, string $binCompat, Filesystem $filesystem = null)

Parameters

IOInterface $io
string $binDir
string $binCompat
Filesystem $filesystem

installBinaries(PackageInterface $package, $installPath, $warnOnOverwrite = true)

Parameters

PackageInterface $package
$installPath
$warnOnOverwrite

removeBinaries(PackageInterface $package)

Parameters

PackageInterface $package

static determineBinaryCaller($bin)

Parameters

$bin

protected getBinaries(PackageInterface $package)

Parameters

PackageInterface $package

protected installFullBinaries($binPath, $link, $bin, PackageInterface $package)

Parameters

$binPath
$link
$bin
PackageInterface $package

protected installSymlinkBinaries($binPath, $link)

Parameters

$binPath
$link

protected installUnixyProxyBinaries($binPath, $link)

Parameters

$binPath
$link

protected initializeBinDir()

protected generateWindowsProxyCode($bin, $link)

Parameters

$bin
$link

protected generateUnixyProxyCode($bin, $link)

Parameters

$bin
$link