Skip to content

VersionCheckNotifier

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

Emits update warnings while ensuring version checks never block the requested command.


Methods

__construct

public __construct(\FastForward\DevTools\SelfUpdate\VersionCheckerInterface $versionChecker, \FastForward\DevTools\Environment\RuntimeEnvironmentInterface $environment): mixed

Parameters:

Parameter Type Description
$versionChecker \FastForward\DevTools\SelfUpdate\VersionCheckerInterface the checker used to resolve latest release metadata
$environment \FastForward\DevTools\Environment\RuntimeEnvironmentInterface resolves runtime environment capabilities

notify

Warns when a newer stable DevTools version is available.

public notify(\Symfony\Component\Console\Output\OutputInterface $output): void

Parameters:

Parameter Type Description
$output \Symfony\Component\Console\Output\OutputInterface the command output receiving a non-blocking warning

Clone this wiki locally