Documentation

ArgumentResolver
in package
implements ArgumentResolverInterface

FinalYes

Responsible for resolving the arguments passed to an action.

Tags
author

Iltar van der Berg kjarli@gmail.com

Table of Contents

Interfaces

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

Properties

$argumentMetadataFactory  : mixed
$argumentValueResolvers  : iterable<string|int, mixed>

Methods

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

Properties

$argumentValueResolvers

private iterable<string|int, mixed> $argumentValueResolvers

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>

        
On this page

Search results