XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
composerExecute ($command_line) | |
getLastError () | |
getLastOutput () | |
setComposerExe ($overrideExe) | |
Private Attributes | |
$errors = array() | |
$exe = null | |
$exeOptions = ' --no-ansi --no-interaction ' | |
$output = array() | |
Definition at line 30 of file ComposerUtility.php.
Xoops\Core\ComposerUtility::__construct | ( | ) |
__construct
Definition at line 40 of file ComposerUtility.php.
Xoops\Core\ComposerUtility::composerExecute | ( | $command_line | ) |
composerExecute - execute a command using composer
string | $command_line | command to pass to composer, i.e. 'update' |
Definition at line 52 of file ComposerUtility.php.
References Xoops\Core\ComposerUtility\$errors, $options, Xoops\Core\ComposerUtility\$output, $process, $type, and XoopsBaseConfig\get().
Xoops\Core\ComposerUtility::getLastError | ( | ) |
getLastError - return errors from last composerExecute()
Definition at line 123 of file ComposerUtility.php.
References Xoops\Core\ComposerUtility\$errors.
Xoops\Core\ComposerUtility::getLastOutput | ( | ) |
getLastOutput - return output from last composerExecute()
Definition at line 113 of file ComposerUtility.php.
References Xoops\Core\ComposerUtility\$output.
Xoops\Core\ComposerUtility::setComposerExe | ( | $overrideExe | ) |
setComposerExe - set a specific executable for Composer
By default symfony/process looks for a PHP executable, and it is passed an argument of a local copy of composer.phar. This method allows an override for these defaults to be specified. Invoke this method before composerExecute().
string | $overrideExe | command line to invoke composer |
Definition at line 139 of file ComposerUtility.php.
|
private |
Definition at line 35 of file ComposerUtility.php.
Referenced by Xoops\Core\ComposerUtility\composerExecute(), and Xoops\Core\ComposerUtility\getLastError().
|
private |
Definition at line 33 of file ComposerUtility.php.
|
private |
Definition at line 34 of file ComposerUtility.php.
|
private |
Definition at line 32 of file ComposerUtility.php.
Referenced by Xoops\Core\ComposerUtility\composerExecute(), and Xoops\Core\ComposerUtility\getLastOutput().