Skip to content

ComposerSelfUpdateRunner

github-actions edited this page Apr 28, 2026 · 1 revision

Updates DevTools through the active Composer executable.


Methods

__construct

public __construct(\FastForward\DevTools\Process\ProcessBuilderInterface $processBuilder, \FastForward\DevTools\Process\ProcessQueueInterface $processQueue): mixed

Parameters:

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

update

Updates the installed DevTools package.

public update(bool $global, \Symfony\Component\Console\Output\OutputInterface $output): int

Parameters:

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


Clone this wiki locally