Property | Type | Description | |
---|---|---|---|
$composer | |||
$output | Symfony\Component\Console\Output\OutputInterface |
Method | Description | |
---|---|---|
__construct ( mixed $output = null ) | Constructor. | |
disable ( $packages ) | ||
enable ( $packages ) | ||
install ( array $install = [], boolean $packagist = false, boolean $preferSource = false ) : boolean | ||
uninstall ( array $uninstall ) : boolean |
Method | Description | |
---|---|---|
doInstall ( $package ) : string | ||
getScripts ( array $package, string $current = null ) : |
||
getVersion ( $package ) : string | Tries to obtain package version from 'composer.json' or installation log. |
protected getScripts ( array $package, string $current = null ) : |
||
$package | array | |
$current | string | |
return |
protected getVersion ( $package ) : string | ||
$package | ||
return | string |
protected Composer,Pagekit\Installer\Helper $composer | ||
return |