class UserValueResolver implements ArgumentValueResolverInterface
Supports the argument type of {see UserInterface}.
__construct(TokenStorageInterface $tokenStorage) | ||
bool | supports(Request $request, ArgumentMetadata $argument) Whether this resolver can resolve the value for the given ArgumentMetadata. | |
Generator | resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). |
TokenStorageInterface | $tokenStorage |
Whether this resolver can resolve the value for the given ArgumentMetadata.
Request | $request | |
ArgumentMetadata | $argument |
bool |
Returns the possible value(s).
Request | $request | |
ArgumentMetadata | $argument |
Generator |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Controller/UserValueResolver.html