class Config implements ContextualAttribute

Methods

__construct(string $key, mixed $default = null)

Create a new class instance.

static mixed
resolve(Config $attribute, Container $container)

Resolve the configuration value.

Details

at line 17
__construct(string $key, mixed $default = null)

Create a new class instance.

Parameters

string $key
mixed $default

at line 24
static mixed resolve(Config $attribute, Container $container)

Resolve the configuration value.

Parameters

Config $attribute
Container $container

Return Value

mixed