-
-
Notifications
You must be signed in to change notification settings - Fork 0
EnvironmentInterface
github-actions edited this page Apr 24, 2026
·
1 revision
Reads process environment variables without binding callers to Composer APIs.
- Full name:
\FastForward\DevTools\Environment\EnvironmentInterface
Reads an environment variable.
public get(string $name, string|null $default = null): string|nullParameters:
| Parameter | Type | Description |
|---|---|---|
$name |
string | the environment variable name |
$default |
string|null | the value returned when the variable is not defined |
Return Value:
the variable value, or the default when it is not defined