final class WithEnv implements Invokable

Sets an environment variable for the duration of a test.

Methods

__construct(string $key, string|null $value)

No description

mixed
__invoke(Application $app)

Handle the attribute.

Details

at line 20
__construct(string $key, string|null $value)

No description

Parameters

string $key
string|null $value

at line 29
mixed __invoke(Application $app)

Handle the attribute.

Parameters

Application $app

Return Value

mixed