-
-
Notifications
You must be signed in to change notification settings - Fork 0
VersionCheckResult
github-actions edited this page Apr 28, 2026
·
1 revision
Describes the installed and latest known DevTools versions.
- Full name:
\FastForward\DevTools\SelfUpdate\VersionCheckResult - This class is marked as final and can't be subclassed
- This class is a Final class
public __construct(string $currentVersion, string $latestVersion): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$currentVersion |
string | the currently installed DevTools version |
$latestVersion |
string | the latest stable DevTools version known to Composer |
Returns the currently installed DevTools version.
public getCurrentVersion(): stringReturns the latest stable DevTools version known to Composer.
public getLatestVersion(): stringDetects whether the installed version is older than the latest stable version.
public isOutdated(): bool