Skip to content

SyncCommand

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

Orchestrates dev-tools synchronization commands for the consumer repository.


  • Full name: \FastForward\DevTools\Console\Command\SyncCommand
  • Parent class: BaseCommand
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Methods

__construct

Creates a new SyncCommand instance.

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

Parameters:

Parameter Type Description
$processBuilder \FastForward\DevTools\Process\ProcessBuilderInterface the builder used to assemble dev-tools processes
$processQueue \FastForward\DevTools\Process\ProcessQueueInterface the queue used to execute synchronization commands

configure

{@inheritDoc}

protected configure(): void

execute

Queues and executes synchronization commands.

protected execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output): int

Parameters:

Parameter Type Description
$input \Symfony\Component\Console\Input\InputInterface the input interface
$output \Symfony\Component\Console\Output\OutputInterface the output interface

Return Value:

the status code of the command


Clone this wiki locally