Skip to content

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

Methods

isEnabled

Returns whether a truthy environment flag is enabled.

public isEnabled(string $name): bool

Parameters:

Parameter Type Description
$name string the environment variable name

Return Value:

true when the environment variable is enabled


isGithubActions

Returns whether the current process runs in GitHub Actions.

public isGithubActions(): bool

isCi

Returns whether the current process runs in a CI environment.

public isCi(): bool

isComposerTestRun

Returns whether the Composer test suite runtime flag is enabled.

public isComposerTestRun(): bool

Clone this wiki locally