VersionCheckerInterface

Interface

Checks whether the installed DevTools package is behind the latest stable release.

Table of Contents

Methods

check()

Returns version information when it can be resolved without blocking command execution.

 : VersionCheckResult|null
getCurrentVersion()

Returns the resolved DevTools version for display and internal comparison.

 : string
Methods

getCurrentVersion()

Public

Returns the resolved DevTools version for display and internal comparison.

public getCurrentVersion() : string

Description

The method MUST return a safe version string even when installed metadata is unavailable. It MAY be a fallback value.

Return values
string