Свойство | Type | Description | |
---|---|---|---|
$file | string | ||
$io | Composer\IO\ConsoleIO | ||
$output | Symfony\Component\Console\Output\OutputInterface | ||
$packages | array |
Méthode | Description | |
---|---|---|
__construct ( array $config, null $output = null ) | ||
install ( array $install, boolean $packagist = false, boolean $writeConfig = true, boolean $preferSource = false ) : boolean | ||
isInstalled ( $name ) : boolean | Checks if a package is installed by composer. | |
uninstall ( array | string $uninstall, boolean $writeConfig = true ) |
Méthode | Description | |
---|---|---|
addPackages ( $packages ) : array | ||
composerUpdate ( array | boolean $updates = false, array $refresh = [], boolean $packagist = false, boolean $preferSource = false ) : boolean | Runs Composer Update command. | |
getComposer ( boolean $packagist = false ) : null | Returns composer instance. | |
getIO ( ) : Pagekit\Installer\Helper\InstallerIO | ||
memoryInBytes ( $value ) : integer | Converts memory value from 'php.ini' into bytes. | |
readConfig ( ) : array | Reads packages from package file. | |
removePackages ( $packages ) : array | ||
writeConfig ( ) | Writes changes to packages file. |
public __construct ( array $config, null $output = null ) | ||
$config | array | |
$output | null |
protected addPackages ( $packages ) : array | ||
$packages | ||
Résultat | array |
protected getComposer ( boolean $packagist = false ) : null | ||
$packagist | boolean | |
Résultat | null |
protected getIO ( ) : Pagekit\Installer\Helper\InstallerIO | ||
Résultat | Pagekit\Installer\Helper\InstallerIO |
public isInstalled ( $name ) : boolean | ||
$name | ||
Résultat | boolean |
protected memoryInBytes ( $value ) : integer | ||
$value | ||
Résultat | integer |
protected readConfig ( ) : array | ||
Résultat | array |
protected removePackages ( $packages ) : array | ||
$packages | ||
Résultat | array |
protected OutputInterface,Symfony\Component\Console\Output $output | ||
Résultat | Symfony\Component\Console\Output\OutputInterface |