FileAccess Orion

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, Traits and Enums

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

Table of Contents

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

Properties

Methods

getArguments()

Returns the arguments to pass to the controller.

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

An array of arguments to pass to the controller

getDefaultArgumentValueResolvers()

public static getDefaultArgumentValueResolvers() : iteratable<string|int, mixed>
Return values
iteratable<string|int, mixed>

Search results