Composer API
Class

Composer\Installer\BinaryInstaller

class BinaryInstaller

Utility to handle installation of package "bin"/binaries

Methods

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

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

removeBinaries(PackageInterface $package)

static  determineBinaryCaller($bin)

Details

at line 42
public __construct(IOInterface $io, string $binDir, string $binCompat, Filesystem $filesystem = null)

Parameters

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

at line 50
public installBinaries(PackageInterface $package, $installPath, $warnOnOverwrite = true)

Parameters

PackageInterface $package
$installPath
$warnOnOverwrite

at line 97
public removeBinaries(PackageInterface $package)

Parameters

PackageInterface $package

at line 121
static public determineBinaryCaller($bin)

Parameters

$bin