-
-
Notifications
You must be signed in to change notification settings - Fork 0
ComposerSelfUpdateRunner
github-actions edited this page Apr 28, 2026
·
1 revision
Updates DevTools through the active Composer executable.
- Full name:
\FastForward\DevTools\SelfUpdate\ComposerSelfUpdateRunner - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\SelfUpdate\SelfUpdateRunnerInterface - This class is a Final class
public __construct(\FastForward\DevTools\Process\ProcessBuilderInterface $processBuilder, \FastForward\DevTools\Process\ProcessQueueInterface $processQueue): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$processBuilder |
\FastForward\DevTools\Process\ProcessBuilderInterface | the process builder used to assemble Composer update commands |
$processQueue |
\FastForward\DevTools\Process\ProcessQueueInterface | the queue used to execute the update process |
Updates the installed DevTools package.
public update(bool $global, \Symfony\Component\Console\Output\OutputInterface $output): intParameters:
| Parameter | Type | Description |
|---|---|---|
$global |
bool | whether the update should target Composer's global project |
$output |
\Symfony\Component\Console\Output\OutputInterface | the command output used by the update process |
Return Value:
the Composer process status code