final class WithConfig implements Invokable

Sets a config value directly.

Methods

__construct(string $key, mixed $value)

Create a new attribute instance.

mixed
__invoke(Application $app)

Handle the attribute.

Details

at line 24
__construct(string $key, mixed $value)

Create a new attribute instance.

Parameters

string $key
mixed $value

at line 33
mixed __invoke(Application $app)

Handle the attribute.

Parameters

Application $app

Return Value

mixed