-
-
Notifications
You must be signed in to change notification settings - Fork 0
ComposerSelfUpdateScopeResolver
github-actions edited this page Apr 28, 2026
·
1 revision
Detects Composer global DevTools installations from known Composer home paths.
- Full name:
\FastForward\DevTools\SelfUpdate\ComposerSelfUpdateScopeResolver - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\SelfUpdate\SelfUpdateScopeResolverInterface - This class is a Final class
public __construct(\FastForward\DevTools\Environment\EnvironmentInterface $environment, string|null $packagePath = null): mixedParameters:
| 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 |
Returns whether DevTools is running from Composer's global installation.
public isGlobalInstallation(): bool