-
-
Notifications
You must be signed in to change notification settings - Fork 0
UpdateComposerJsonCommand
github-actions edited this page Apr 17, 2026
·
1 revision
Updates composer.json with the Fast Forward dev-tools integration metadata.
- Full name:
\FastForward\DevTools\Console\Command\UpdateComposerJsonCommand - Parent class:
BaseCommand - This class is marked as final and can't be subclassed
- This class is a Final class
Creates a new UpdateComposerJsonCommand instance.
public __construct(\FastForward\DevTools\Filesystem\FilesystemInterface $filesystem, \Symfony\Component\Config\FileLocatorInterface $fileLocator): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$filesystem |
\FastForward\DevTools\Filesystem\FilesystemInterface | the filesystem used to read and write composer.json |
$fileLocator |
\Symfony\Component\Config\FileLocatorInterface | the locator used to resolve packaged configuration files |
Configures the composer file option.
protected configure(): voidUpdates composer.json when the target file exists.
protected execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output): intParameters:
| Parameter | Type | Description |
|---|---|---|
$input |
\Symfony\Component\Console\Input\InputInterface | the command input |
$output |
\Symfony\Component\Console\Output\OutputInterface | the command output |
Return Value:
the command status code