Skip to content

ChangelogPromoteCommand

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

Promotes the Unreleased section into a published changelog version.


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

Methods

__construct

public __construct(\FastForward\DevTools\Filesystem\FilesystemInterface $filesystem, \FastForward\DevTools\Changelog\Manager\ChangelogManagerInterface $changelogManager, \Psr\Clock\ClockInterface $clock): mixed

Parameters:

Parameter Type Description
$filesystem \FastForward\DevTools\Filesystem\FilesystemInterface
$changelogManager \FastForward\DevTools\Changelog\Manager\ChangelogManagerInterface
$clock \Psr\Clock\ClockInterface

configure

Configures the promotion arguments and options.

protected configure(): void

execute

Promotes unreleased entries into the requested version section.

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
$output \Symfony\Component\Console\Output\OutputInterface

Clone this wiki locally