WithEnv
final class WithEnv implements Invokable
Sets an environment variable for the duration of a test.
Methods
__construct(string $key, string|null $value)
Construct a new attribute.
mixed
Details
at line 25
__construct(string $key, string|null $value)
Construct a new attribute.
at line 36
mixed
__invoke(Application $app)
Handle the attribute.