ParameterConverter
final class ParameterConverter
| internal |
Converts parameters between HTTP requests, presenters, and URLs.
Methods
static array
static void
toParameters(ReflectionMethod $method, array $args, array $supplemental = [], array|null $missing = null)
Converts list of arguments to named parameters & check types.
static bool
convertType(mixed $val, string $types)
Lossless type conversion.
static string
getType(ReflectionParameter|ReflectionProperty $item)
No description
Details
at line 27
static array
toArguments(ReflectionFunctionAbstract $method, array $args)
No description
at line 73
static void
toParameters(ReflectionMethod $method, array $args, array $supplemental = [], array|null $missing = null)
| internal |
Converts list of arguments to named parameters & check types.
at line 139
static bool
convertType(mixed $val, string $types)
Lossless type conversion.
at line 187
static string
getType(ReflectionParameter|ReflectionProperty $item)
No description
Traits
StaticClass