class RequestAttribute implements ExecutionScopedAttribute

Methods

__construct(string $parameter)

Create a new class instance.

bool
isExecutionScoped()

Determine whether the resolved value belongs to the current execution.

static mixed
resolve(RequestAttribute $attribute, Container $container, ReflectionParameter $parameter)

Resolve the request attribute.

Details

at line 18
__construct(string $parameter)

Create a new class instance.

Parameters

string $parameter

at line 25
bool isExecutionScoped()

Determine whether the resolved value belongs to the current execution.

Return Value

bool

at line 33
static mixed resolve(RequestAttribute $attribute, Container $container, ReflectionParameter $parameter)

Resolve the request attribute.

Parameters

RequestAttribute $attribute
Container $container
ReflectionParameter $parameter

Return Value

mixed