class TraceableValueResolver implements ArgumentValueResolverInterface

Provides timing information via the stopwatch.

Methods

__construct(ArgumentValueResolverInterface $inner, Stopwatch $stopwatch)

No description

bool
supports(Request $request, ArgumentMetadata $argument)

Whether this resolver can resolve the value for the given ArgumentMetadata.

resolve(Request $request, ArgumentMetadata $argument)

Returns the possible value(s).

Details

__construct(ArgumentValueResolverInterface $inner, Stopwatch $stopwatch)

Parameters

ArgumentValueResolverInterface $inner
Stopwatch $stopwatch

bool supports(Request $request, ArgumentMetadata $argument)

Whether this resolver can resolve the value for the given ArgumentMetadata.

Parameters

Request $request
ArgumentMetadata $argument

Return Value

bool

Generator resolve(Request $request, ArgumentMetadata $argument)

Returns the possible value(s).

Parameters

Request $request
ArgumentMetadata $argument

Return Value

Generator