Skip to content

ComposerSelfUpdateScopeResolver

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

Detects Composer global DevTools installations from known Composer home paths.


Methods

__construct

public __construct(\FastForward\DevTools\Environment\EnvironmentInterface $environment, string|null $packagePath = null): mixed

Parameters:

Parameter Type Description
$environment \FastForward\DevTools\Environment\EnvironmentInterface reads Composer home environment values
$packagePath string|null the DevTools package path; defaults to the active package root

isGlobalInstallation

Returns whether DevTools is running from Composer's global installation.

public isGlobalInstallation(): bool

Clone this wiki locally