class UserValueResolver implements ArgumentValueResolverInterface

Supports the argument type of {see UserInterface}.

Methods

__construct(TokenStorageInterface $tokenStorage)

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

at line 30
__construct(TokenStorageInterface $tokenStorage)

Parameters

TokenStorageInterface $tokenStorage

at line 35
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

at line 53
Generator resolve(Request $request, ArgumentMetadata $argument)

Returns the possible value(s).

Parameters

Request $request
ArgumentMetadata $argument

Return Value

Generator