Documentation

ArgumentResolverInterface

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

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

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

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
Tags
throws
RuntimeException

When no value could be provided for a required argument

Return values
array<string|int, mixed>

Search results