ParameterBagUtils::getRequestParameterValue()

static mixed getRequestParameterValue(Request $request, string $path)

Returns a request "parameter" value.

Paths like foo[bar] will be evaluated to find deeper items in nested data structures.

Parameters

Request $request The request
string $path The key

Return Value

mixed

Exceptions

InvalidArgumentException when the given path is malformed
doc_Symfony
2016-10-28 06:25:50
Comments
Leave a Comment

Please login to continue.