Documentation

ArgumentResolver
in package
implements ArgumentResolverInterface

Responsible for resolving the arguments passed to an action.

Tags
author

Iltar van der Berg kjarli@gmail.com

Interfaces, Classes and Traits

ArgumentResolverInterface
An ArgumentResolverInterface instance knows how to determine the arguments for a specific action.

Table of Contents

$argumentMetadataFactory  : mixed
$argumentValueResolvers  : mixed
__construct()  : mixed
getArguments()  : array<string|int, mixed>
Returns the arguments to pass to the controller.
getDefaultArgumentValueResolvers()  : iteratable<int, ArgumentValueResolverInterface>

Properties

Methods

getArguments()

Returns the arguments to pass to the controller.

public getArguments(Request $request, callable $controller) : array<string|int, mixed>
Parameters
$request : Request
$controller : callable
Return values
array<string|int, mixed>

Search results