ArgumentResolver
class ArgumentResolver implements ArgumentResolverInterface
Responsible for resolving the arguments passed to an action.
Methods
Details
__construct(ArgumentMetadataFactoryInterface $argumentMetadataFactory = null, iterable $argumentValueResolvers = array())
Parameters
array
getArguments(Request $request, callable $controller)
Returns the arguments to pass to the controller.
Parameters
Request | $request | |
callable | $controller | |
Return Value
array | An array of arguments to pass to the controller |
Exceptions
static iterable
getDefaultArgumentValueResolvers()
Return Value