mediatekformation

UserValueResolver
in package
implements ArgumentValueResolverInterface

Supports the argument type of {@see UserInterface}.

Tags
author

Iltar van der Berg kjarli@gmail.com

Interfaces, Classes, Traits and Enums

ArgumentValueResolverInterface
Responsible for resolving the value of an argument based on its metadata.

Table of Contents

$tokenStorage  : mixed
__construct()  : mixed
resolve()  : iteratable<string|int, mixed>
Returns the possible value(s).
supports()  : bool
Whether this resolver can resolve the value for the given ArgumentMetadata.

Properties

Methods

resolve()

Returns the possible value(s).

public resolve(Request $request, ArgumentMetadata $argument) : iteratable<string|int, mixed>
Parameters
$request : Request
$argument : ArgumentMetadata
Return values
iteratable<string|int, mixed>

supports()

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

public supports(Request $request, ArgumentMetadata $argument) : bool
Parameters
$request : Request
$argument : ArgumentMetadata
Return values
bool

Search results