ArgumentsHelper
abstract class ArgumentsHelper (View source)
Helper to unify different HTTP request arguments.
Methods
static array
buildUnifiedArguments(array $getArguments, array $postArguments, array $untangledFiles)
Takes the raw GET & POST arguments and maps them into the request object.
static array
mergeArgumentArrays(array $arguments, array ...$argumentArrays)
No description
Details
static array
buildUnifiedArguments(array $getArguments, array $postArguments, array $untangledFiles)
Takes the raw GET & POST arguments and maps them into the request object.
Afterwards all mapped arguments can be retrieved by the getArgument(s) method, no matter if they have been GET, POST or PUT arguments before.
The order of merging is GET, POST, FILES, with later items overriding earlier ones.
static array
mergeArgumentArrays(array $arguments, array ...$argumentArrays)
No description