Свойство | Тип | Описание | |
---|---|---|---|
$componentDir | string | ||
$composer | Composer\Composer | ||
$config | Composer\Config | ||
$fs | ComponentInstaller\Util\Filesystem | ||
$installationManager | Composer\Installer\InstallationManager | The Composer installation manager to find Component vendor directories. | |
$io | Composer\IO\IOInterface | Composer\IO\NullIO | ||
$options | array | Any user provided options to configure this process. | |
$packages | array |
Метод | Описание | |
---|---|---|
__construct ( Composer\Composer $composer = null, Composer\IO\IOInterface $io = null ) | ||
getComponentDir ( ) | Retrieves the component directory. | |
getComponentName ( string $prettyName, array $extra = [] ) : string | Retrieves the component name for the component. | |
getVendorDir ( array $package ) : string | Retrieves the given package's vendor directory, where it's installed. | |
init ( ) | ||
process ( ) | ||
setComponentDir ( string $dir ) : string | Sets the component directory. |
public __construct ( Composer\Composer $composer = null, Composer\IO\IOInterface $io = null ) | ||
$composer | Composer\Composer | |
$io | Composer\IO\IOInterface |
public getVendorDir ( array $package ) : string | ||
$package | array | The package to retrieve the vendor directory for. |
Результат | string |
public setComponentDir ( string $dir ) : string | ||
$dir | string | |
Результат | string |
protected Filesystem,ComponentInstaller\Util $fs | ||
Результат | ComponentInstaller\Util\Filesystem |
protected InstallationManager,Composer\Installer $installationManager | ||
Результат | Composer\Installer\InstallationManager |
protected IOInterface,Composer\IO|NullIO,Composer\IO $io | ||
Результат | Composer\IO\IOInterface | Composer\IO\NullIO |
protected array $options | ||
Результат | array |