VersionCheckNotifier

Class
Read only: Yes Final: Yes

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

Table of Contents

Interfaces

VersionCheckNotifierInterface

Emits non-blocking DevTools freshness notices for interactive binary runs.

Properties

Methods

 : mixed
notify()

Warns when a newer stable DevTools version is available.

 : void
shouldSkipVersionCheck()

Returns whether DevTools SHOULD skip the best-effort version check.

 : bool
Properties
Methods

notify()

Public

Warns when a newer stable DevTools version is available.

public notify(OutputInterface  $output) : void
Parameters
$output : OutputInterface

Description

the command output receiving a non-blocking warning

shouldSkipVersionCheck()

Private

Returns whether DevTools SHOULD skip the best-effort version check.

private shouldSkipVersionCheck() : bool
Return values
bool