-
-
Notifications
You must be signed in to change notification settings - Fork 0
RuntimeEnvironmentInterface
github-actions edited this page Apr 28, 2026
·
1 revision
Answers common runtime-environment questions from process environment flags.
- Full name:
\FastForward\DevTools\Environment\RuntimeEnvironmentInterface
Returns whether a truthy environment flag is enabled.
public isEnabled(string $name): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$name |
string | the environment variable name |
Return Value:
true when the environment variable is enabled
Returns whether the current process runs in GitHub Actions.
public isGithubActions(): boolReturns whether the current process runs in a CI environment.
public isCi(): boolReturns whether the Composer test suite runtime flag is enabled.
public isComposerTestRun(): bool